Re: [PATCH] cxgb4i: Remove the scsi host device when removing device

2013-01-16 Thread Mike Christie
On 01/11/2013 01:12 PM, Thadeu Lima de Souza Cascardo wrote: > When doing a hotplug remove of a cxgb4 device, there are still dandling > symlinks at /sys/class/scsi_host/hostX to the removed PCI device. The > upper layer device may also try to send data, which may crash the > system. > > The

Re: [PATCH] cxgb4i: Remove the scsi host device when removing device

2013-01-16 Thread Mike Christie
On 01/11/2013 01:12 PM, Thadeu Lima de Souza Cascardo wrote: When doing a hotplug remove of a cxgb4 device, there are still dandling symlinks at /sys/class/scsi_host/hostX to the removed PCI device. The upper layer device may also try to send data, which may crash the system. The DETACH

[PATCH] cxgb4i: Remove the scsi host device when removing device

2013-01-11 Thread Thadeu Lima de Souza Cascardo
When doing a hotplug remove of a cxgb4 device, there are still dandling symlinks at /sys/class/scsi_host/hostX to the removed PCI device. The upper layer device may also try to send data, which may crash the system. The DETACH message from the lower level driver is sent to the ULD when the device

[PATCH] cxgb4i: Remove the scsi host device when removing device

2013-01-11 Thread Thadeu Lima de Souza Cascardo
When doing a hotplug remove of a cxgb4 device, there are still dandling symlinks at /sys/class/scsi_host/hostX to the removed PCI device. The upper layer device may also try to send data, which may crash the system. The DETACH message from the lower level driver is sent to the ULD when the device