cnic: Fix missing ISCSI_KEVENT_IF_DOWN message
authorMichael Chan <mchan@broadcom.com>
Tue, 3 Jun 2014 06:08:48 +0000 (23:08 -0700)
committerDavid S. Miller <davem@davemloft.net>
Tue, 3 Jun 2014 06:16:41 +0000 (23:16 -0700)
commit5943691442ae248977a2e3cac814ed5ac606903c
tree9f6b56c5dd8b707327864ecfdaf667cc4db29acb
parent437b8a26f9d057505e631b9b556e9d80c1987aca
cnic: Fix missing ISCSI_KEVENT_IF_DOWN message

The iSCSI netlink message needs to be sent before the ulp_ops is cleared
as it is sent through a function pointer in the ulp_ops.  This bug
causes iscsid to not get the message when the bnx2i driver is unloaded.

Signed-off-by: Michael Chan <mchan@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/broadcom/cnic.c