]> git.baikalelectronics.ru Git - kernel.git/commit
cnic: Fix rare race condition during iSCSI disconnect.
authorEddie Wai <eddie.wai@broadcom.com>
Wed, 5 Dec 2012 10:10:15 +0000 (10:10 +0000)
committerDavid S. Miller <davem@davemloft.net>
Wed, 5 Dec 2012 21:01:28 +0000 (16:01 -0500)
commit1f70c9892e86d6007aff79f38b0d9feabee02cdd
tree8568b55f2f3a26e610dc97cec622c1996d5c3c39
parentba1c595dd1027d10f234eeaa493669190c034cfc
cnic: Fix rare race condition during iSCSI disconnect.

If the initiator and target try to close the connection at about the same
time, there is a race condition in the termination sequence for bnx2x.
Fix the problem by waiting for the remote termination to complete before
deleting the Connection ID.  This will prevent the firmware assert.

Update version to 2.5.15.

Signed-off-by: Eddie Wai <eddie.wai@broadcom.com>
Signed-off-by: Michael Chan <mchan@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/broadcom/cnic.c
drivers/net/ethernet/broadcom/cnic_if.h