summaryrefslogtreecommitdiffstats
path: root/sys/netinet/ip_icmp.c
diff options
context:
space:
mode:
authordlg <dlg@openbsd.org>2010-09-13 07:48:12 +0000
committerdlg <dlg@openbsd.org>2010-09-13 07:48:12 +0000
commit3f6b51f0edaf8f93d0752f64c6aeb009899ff61f (patch)
tree7bf4433c558edb49957b5ad40d3ce8144107c6be /sys/netinet/ip_icmp.c
parentdont reuse the event notifications ccbs id for the acknowledgement. (diff)
downloadwireguard-openbsd-3f6b51f0edaf8f93d0752f64c6aeb009899ff61f.tar.xz
wireguard-openbsd-3f6b51f0edaf8f93d0752f64c6aeb009899ff61f.zip
if a busy sas device is unplugged, the pending io on that device will
never complete. when we get a detach event from the firmware, we currently deactivate the device and then request the scsi midlayer attempt to detach the device. this diff now deactivates the device and then resets the target, forcing the ioc to complete the pending operations. once the reset has completed we then request a detach of the kernel device. this lets me hotplug busy sas disks without leaking scsi_xfers or bufs or anything.
Diffstat (limited to 'sys/netinet/ip_icmp.c')
0 files changed, 0 insertions, 0 deletions