From: Michael Chan Date: Mon, 27 Jul 2009 18:25:58 +0000 (-0700) Subject: cnic: Fix ISCSI_KEVENT_IF_DOWN message handling. X-Git-Tag: v2.6.31-rc5~83^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6d7760a88c25057c2c2243e5dfe2d731064bd31d;p=pandora-kernel.git 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 Signed-off-by: David S. Miller --- Reading git-diff-tree failed