diff options
author | Abhijeet Joglekar <abjoglek@cisco.com> | 2009-04-22 01:26:52 +0200 |
---|---|---|
committer | James Bottomley <James.Bottomley@HansenPartnership.com> | 2009-04-27 17:18:48 +0200 |
commit | 0d228c0f7f9e3ade147e57682915c55b92448230 (patch) | |
tree | 29eb6e1d82a784ebac8daecb656135f8bd4d99bd /drivers/scsi/gvp11.c | |
parent | [SCSI] cxgb3i: fix ddp map overrun (diff) | |
download | linux-0d228c0f7f9e3ade147e57682915c55b92448230.tar.xz linux-0d228c0f7f9e3ade147e57682915c55b92448230.zip |
[SCSI] libfc: Hold disc mutex while processing gpn ft resp
gpn_ft_resp processing currently does not hold the discovery lock.
disc_done() thus gets called from gpn_ft_resp or from gpn_ft_parse
without the lock held. This then sets disc->pending to zero or calls
gpn_ft_req() without disc_lock held.
- Hold disc mutex during gpn_ft resp processing
- In disc_done, release the disc mutex while calling lport callback
Signed-off-by: Abhijeet Joglekar <abjoglek@cisco.com>
Signed-off-by: Robert Love <robert.w.love@intel.com>
Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>
Diffstat (limited to 'drivers/scsi/gvp11.c')
0 files changed, 0 insertions, 0 deletions