summaryrefslogtreecommitdiffstats
path: root/drivers/hwmon/sis5595.c
diff options
context:
space:
mode:
authorBhanu Prakash Gollapudi <bprakash@broadcom.com>2011-08-04 17:38:46 -0700
committerJames Bottomley <JBottomley@Parallels.com>2011-08-27 08:35:42 -0600
commitb338c785c5c945383046ff39092e3021ea5b1d95 (patch)
tree548bd66957226efdd21e32eefefc222fdc593a69 /drivers/hwmon/sis5595.c
parent81214013130cd24142f6465f7f5a256fed530c17 (diff)
downloadop-kernel-dev-b338c785c5c945383046ff39092e3021ea5b1d95.zip
op-kernel-dev-b338c785c5c945383046ff39092e3021ea5b1d95.tar.gz
[SCSI] bnx2fc: Fix NULL pointer deref during arm_cq.
There exists a race condition between CQ doorbell unmap and IO completion path that arms the CQ which causes a NULL dereference. Protect the ctx_base with cq_lock to avoid this. Also, wait for the CQ doorbell to be successfully mapped before arming the CQ. Also, do not count uncolicited CQ completions for free_sqes. Signed-off-by: Bhanu Prakash Gollapudi <bprakash@broadcom.com> Signed-off-by: James Bottomley <JBottomley@Parallels.com>
Diffstat (limited to 'drivers/hwmon/sis5595.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud