]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Fill initid explicitly on requests.
authorAlexander Motin <mav@FreeBSD.org>
Fri, 7 Dec 2018 19:10:51 +0000 (19:10 +0000)
committerAlexander Motin <mav@FreeBSD.org>
Fri, 7 Dec 2018 19:10:51 +0000 (19:10 +0000)
commit9ce46e810768b11d5f6af5e4215593e01599a24b
tree142f9a3b8ef84ed1c14d460b465bca3a7802eab9
parentb9de82a654bafc89bf7581421d65eec6b00d1421
Fill initid explicitly on requests.

Unfortunately ctl_scsi_zero_io() wipes that field, so it was always zero.
While there, targ_port is set by kernel, so user-space should not fill it.

MFC after: 1 week
usr.sbin/bhyve/pci_virtio_scsi.c