]> git.proxmox.com Git - mirror_ubuntu-disco-kernel.git/commit
cnic: Do not call bnx2i when bnx2i is calling cnic_unregister_driver()
authorMichael Chan <mchan@broadcom.com>
Mon, 3 Jan 2011 15:21:46 +0000 (15:21 +0000)
committerDavid S. Miller <davem@davemloft.net>
Tue, 4 Jan 2011 03:08:07 +0000 (19:08 -0800)
commit42bb8d56953a06de50941d6d3df89dc3023bb92d
tree29169d56608a6cf6ee73ddd40e19981c548e5cef
parent57045c996fb4e035f1d152b7e04315fc223352e9
cnic: Do not call bnx2i when bnx2i is calling cnic_unregister_driver()

We should call bnx2i to send the iSCSI netlink message earlier in
cnic_unregister_device().  By the time cnic_unregister_driver() is
called, bnx2i may have freed data structures used by the upcalls.

Update version to 2.2.12.

Reviewed-by: Benjamin Li <benli@broadcom.com>
Signed-off-by: Michael Chan <mchan@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/cnic.c
drivers/net/cnic_if.h