bnx2i: Fix call trace while device reset
Orabug:
22066191
The driver waits for command completion event while cleanup of task
within the frwd lock and back locks. The frwd lock was still held
which caused the call trace while issuing a device reset.
Release the frwd lock along with the back lock
to avoid waiting in the lock context.
Signed-off-by: Nilesh Javali <nilesh.javali@qlogic.com>
Reviewed-by: Mike Christie <michaelc@cs.wisc.edu>
Signed-off-by: James Bottomley <JBottomley@Odin.com>
(cherry picked from commit
35843048e7e979df3b7b9f2ad49e21797a11386b)
Signed-off-by: Dan Duval <dan.duval@oracle.com>