Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F148663643
D41632.1787951028.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
672 B
Referenced Files
None
Subscribers
None
D41632.1787951028.diff
View Options
diff --git a/sys/cam/ctl/ctl.c b/sys/cam/ctl/ctl.c
--- a/sys/cam/ctl/ctl.c
+++ b/sys/cam/ctl/ctl.c
@@ -3772,6 +3772,9 @@
if ((lun[0] & 0x3f) == 0 && lun[2] == 0 && lun[3] == 0 &&
lun[4] == 0 && lun[5] == 0 && lun[6] == 0 && lun[7] == 0)
result = lun[1];
+ if ((lun[0] & 0x3f) != 0 && lun[2] == 0 && lun[3] == 0 &&
+ lun[4] == 0 && lun[5] == 0 && lun[6] == 0 && lun[7] == 0)
+ result = ((lun[0] & 0x3f) << 8) + lun[1];
break;
case RPL_LUNDATA_ATYP_FLAT:
if (lun[2] == 0 && lun[3] == 0 && lun[4] == 0 && lun[5] == 0 &&
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Fri, Aug 28, 9:03 PM (7 h, 55 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
29480978
Default Alt Text
D41632.1787951028.diff (672 B)
Attached To
Mode
D41632: LUN addressing compatible with libiscsi (number > 255)
Attached
Detach File
Event Timeline
Log In to Comment