|
@@ -1388,7 +1388,7 @@ static int bond_do_alb_xmit(struct sk_buff *skb, struct bonding *bond,
|
|
}
|
|
}
|
|
|
|
|
|
if (tx_slave && bond_slave_can_tx(tx_slave)) {
|
|
if (tx_slave && bond_slave_can_tx(tx_slave)) {
|
|
- if (tx_slave != rcu_dereference(bond->curr_active_slave)) {
|
|
|
|
|
|
+ if (tx_slave != rcu_access_pointer(bond->curr_active_slave)) {
|
|
ether_addr_copy(eth_data->h_source,
|
|
ether_addr_copy(eth_data->h_source,
|
|
tx_slave->dev->dev_addr);
|
|
tx_slave->dev->dev_addr);
|
|
}
|
|
}
|