diff options
author | Ron Mercer <ron.mercer@qlogic.com> | 2010-02-17 01:41:22 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-02-17 16:35:37 -0500 |
commit | 801e9096c566d40d2e7c9903dc902fa01a5a0b36 (patch) | |
tree | f50e1d9cce2ab903563e90d09007466c9e84d5db /drivers/net/qlge/qlge.h | |
parent | c0c56955e7325ba2f910c760111457adc21ef0d4 (diff) |
qlge: Fix bonding mac address bug.
Use local copy of current mac address when initializing. In bonding
testing we saw cases where dev_addr was out of data causing failover
errors.
Signed-off-by: Ron Mercer <ron.mercer@qlogic.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/qlge/qlge.h')
-rw-r--r-- | drivers/net/qlge/qlge.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/net/qlge/qlge.h b/drivers/net/qlge/qlge.h index 57d135e3bfaf..8b742b639ceb 100644 --- a/drivers/net/qlge/qlge.h +++ b/drivers/net/qlge/qlge.h | |||
@@ -2139,6 +2139,8 @@ struct ql_adapter { | |||
2139 | u16 device_id; | 2139 | u16 device_id; |
2140 | struct timer_list timer; | 2140 | struct timer_list timer; |
2141 | atomic_t lb_count; | 2141 | atomic_t lb_count; |
2142 | /* Keep local copy of current mac address. */ | ||
2143 | char current_mac_addr[6]; | ||
2142 | }; | 2144 | }; |
2143 | 2145 | ||
2144 | /* | 2146 | /* |