diff options
author | Michael Chan <mchan@broadcom.com> | 2011-01-03 10:21:46 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2011-01-03 22:08:07 -0500 |
commit | 42bb8d56953a06de50941d6d3df89dc3023bb92d (patch) | |
tree | 29169d56608a6cf6ee73ddd40e19981c548e5cef /drivers/net/cnic_if.h | |
parent | 57045c996fb4e035f1d152b7e04315fc223352e9 (diff) |
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>
Diffstat (limited to 'drivers/net/cnic_if.h')
-rw-r--r-- | drivers/net/cnic_if.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/net/cnic_if.h b/drivers/net/cnic_if.h index ccd814068c4d..9f44e0ffe003 100644 --- a/drivers/net/cnic_if.h +++ b/drivers/net/cnic_if.h | |||
@@ -1,6 +1,6 @@ | |||
1 | /* cnic_if.h: Broadcom CNIC core network driver. | 1 | /* cnic_if.h: Broadcom CNIC core network driver. |
2 | * | 2 | * |
3 | * Copyright (c) 2006-2010 Broadcom Corporation | 3 | * Copyright (c) 2006-2011 Broadcom Corporation |
4 | * | 4 | * |
5 | * This program is free software; you can redistribute it and/or modify | 5 | * This program is free software; you can redistribute it and/or modify |
6 | * it under the terms of the GNU General Public License as published by | 6 | * it under the terms of the GNU General Public License as published by |
@@ -12,8 +12,8 @@ | |||
12 | #ifndef CNIC_IF_H | 12 | #ifndef CNIC_IF_H |
13 | #define CNIC_IF_H | 13 | #define CNIC_IF_H |
14 | 14 | ||
15 | #define CNIC_MODULE_VERSION "2.2.11" | 15 | #define CNIC_MODULE_VERSION "2.2.12" |
16 | #define CNIC_MODULE_RELDATE "Dec 22, 2010" | 16 | #define CNIC_MODULE_RELDATE "Jan 03, 2011" |
17 | 17 | ||
18 | #define CNIC_ULP_RDMA 0 | 18 | #define CNIC_ULP_RDMA 0 |
19 | #define CNIC_ULP_ISCSI 1 | 19 | #define CNIC_ULP_ISCSI 1 |