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>
This commit is contained in:

committed by
David S. Miller

parent
c0c56955e7
commit
801e9096c5
@@ -2139,6 +2139,8 @@ struct ql_adapter {
|
||||
u16 device_id;
|
||||
struct timer_list timer;
|
||||
atomic_t lb_count;
|
||||
/* Keep local copy of current mac address. */
|
||||
char current_mac_addr[6];
|
||||
};
|
||||
|
||||
/*
|
||||
|
Reference in New Issue
Block a user