Re: [PATCH] cnic: Fix ISCSI_KEVENT_IF_DOWN message handling.
From: David Miller <davem@davemloft.net>
Date: 2009-07-27 18:26:03
Also in:
linux-scsi
From: David Miller <davem@davemloft.net>
Date: 2009-07-27 18:26:03
Also in:
linux-scsi
From: "Michael Chan" <mchan@broadcom.com> Date: Wed, 22 Jul 2009 20:01:55 -0700
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>
Applied.