summaryrefslogtreecommitdiffstats
path: root/include/linux/inetdevice.h
diff options
context:
space:
mode:
authorMichael Chan2009-07-27 20:25:58 +0200
committerDavid S. Miller2009-07-27 20:25:58 +0200
commit6d7760a88c25057c2c2243e5dfe2d731064bd31d (patch)
tree6bc0eba235e8a4cd3ada1627cffa2ca7c6e60d4d /include/linux/inetdevice.h
parentnet: irda: init spinlock after memcpy (diff)
downloadkernel-qcow2-linux-6d7760a88c25057c2c2243e5dfe2d731064bd31d.tar.gz
kernel-qcow2-linux-6d7760a88c25057c2c2243e5dfe2d731064bd31d.tar.xz
kernel-qcow2-linux-6d7760a88c25057c2c2243e5dfe2d731064bd31d.zip
cnic: Fix ISCSI_KEVENT_IF_DOWN message handling.
When a net device goes down or when the bnx2i driver is unloaded, the code was not generating the ISCSI_KEVENT_IF_DOWN message properly and this could cause the userspace driver to crash. This is fixed by sending the message properly in the shutdown path. cnic_uio_stop() is also added to send the message when bnx2i is unregistering. Signed-off-by: Michael Chan <mchan@broadcom.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/linux/inetdevice.h')
0 files changed, 0 insertions, 0 deletions