mirror of
https://github.com/opnsense/src.git
synced 2026-06-08 16:22:46 -04:00
Remove incorrect bit shift when assigning the LUN request field
This caused duplicate targets appearing on Google Compute Engine instances. PR: kern/185626 Submitted by: Venkatesh Srinivas <venkateshs@google.com> MFC after: 3 days
This commit is contained in:
parent
0b55a5a4af
commit
bf51187b26
1 changed files with 1 additions and 1 deletions
|
|
@ -1539,7 +1539,7 @@ vtscsi_set_request_lun(struct ccb_hdr *ccbh, uint8_t lun[])
|
|||
lun[0] = 1;
|
||||
lun[1] = ccbh->target_id;
|
||||
lun[2] = 0x40 | ((ccbh->target_lun >> 8) & 0x3F);
|
||||
lun[3] = (ccbh->target_lun >> 8) & 0xFF;
|
||||
lun[3] = ccbh->target_lun & 0xFF;
|
||||
}
|
||||
|
||||
static void
|
||||
|
|
|
|||
Loading…
Reference in a new issue