diff options
author | Laurence Oberman <[email protected]> | 2014-11-25 09:16:42 -0500 |
---|---|---|
committer | Christoph Hellwig <[email protected]> | 2014-12-15 13:34:23 +0100 |
commit | b9f85b1d32cc55b20984149eacb2e6f4c3aedca3 (patch) | |
tree | 618cc33cdac5df9dbea453183126102078dd9360 /drivers/usb/core/buffer.c | |
parent | 2311ce4d9c91ed63a46e18f0378f3e406e7e888e (diff) |
qla2xxx: fix race in handling rport deletion during recovery causes panic
When we have an rport disconnect we race during rport deletion and
re-connection resulting in a panic. When we do this, we call
fc_remote_port_del() just before we do the calls to re-establish the
session with the FC transport with fc_remote_port_add() and then
fc_remote_port_rolechg().
If we remove the call to fc_remote_port_del() before re-establishing
the connection this prevents the race. This patch has resolved this
for multiple customers via test kernels.
Suggested by Chad Dupuis, implemented and tested by Laurence Oberman.
Signed-off-by: Laurence Oberman <[email protected]>
Acked-by: Chad Dupuis <[email protected]>
Signed-off-by: Christoph Hellwig <[email protected]>
Diffstat (limited to 'drivers/usb/core/buffer.c')
0 files changed, 0 insertions, 0 deletions