summaryrefslogtreecommitdiffstats
path: root/drivers/scsi/bnx2i/bnx2i_hwi.c
diff options
context:
space:
mode:
authorMichael Chan2014-03-18 04:19:06 +0100
committerDavid S. Miller2014-03-18 21:02:16 +0100
commitf7bd12d09ed6e4093a56dbbfbe8411cc52a738d1 (patch)
tree9e7e3ee033404737317ef81b50c28391bc15bd6d /drivers/scsi/bnx2i/bnx2i_hwi.c
parentnet: cdc_ncm: fix control message ordering (diff)
downloadkernel-qcow2-linux-f7bd12d09ed6e4093a56dbbfbe8411cc52a738d1.tar.gz
kernel-qcow2-linux-f7bd12d09ed6e4093a56dbbfbe8411cc52a738d1.tar.xz
kernel-qcow2-linux-f7bd12d09ed6e4093a56dbbfbe8411cc52a738d1.zip
cnic: Use proper ulp_ops for per device operations.
For per device operations, cnic needs to dereference the RCU protected cp->ulp_ops instead of the global cnic_ulp_tbl. In 2 locations, cnic_send_nlmsg() and cnic_copy_ulp_stats(), it was referencing the global table. If the device has been unregistered and these functions are still being called (very unlikely scenarios), it could lead to NULL pointer dereference. Signed-off-by: Michael Chan <mchan@broadcom.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/scsi/bnx2i/bnx2i_hwi.c')
0 files changed, 0 insertions, 0 deletions