Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F147487182
D47393.id145861.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
333 B
Referenced Files
None
Subscribers
None
D47393.id145861.diff
View Options
diff --git a/sys/dev/nvmf/host/nvmf.c b/sys/dev/nvmf/host/nvmf.c
--- a/sys/dev/nvmf/host/nvmf.c
+++ b/sys/dev/nvmf/host/nvmf.c
@@ -376,7 +376,7 @@
MPASS(nsid == nslist->ns[nitems(nslist->ns) - 1] && nsid != 0);
- if (nsid >= 0xfffffffd)
+ if (nsid >= NVME_GLOBAL_NAMESPACE_TAG - 1)
*nsidp = 0;
else
*nsidp = nsid + 1;
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Thu, Mar 12, 9:16 AM (1 h, 35 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
29567811
Default Alt Text
D47393.id145861.diff (333 B)
Attached To
Mode
D47393: nvmf: Fix an off by one error when scanning active namespace IDs
Attached
Detach File
Event Timeline
Log In to Comment