|
@@ -3850,7 +3850,8 @@ static inline int bond_slave_override(struct bonding *bond,
|
|
/* Find out if any slaves have the same mapping as this skb. */
|
|
/* Find out if any slaves have the same mapping as this skb. */
|
|
bond_for_each_slave_rcu(bond, slave, iter) {
|
|
bond_for_each_slave_rcu(bond, slave, iter) {
|
|
if (slave->queue_id == skb->queue_mapping) {
|
|
if (slave->queue_id == skb->queue_mapping) {
|
|
- if (bond_slave_can_tx(slave)) {
|
|
|
|
|
|
+ if (bond_slave_is_up(slave) &&
|
|
|
|
+ slave->link == BOND_LINK_UP) {
|
|
bond_dev_queue_xmit(bond, skb, slave->dev);
|
|
bond_dev_queue_xmit(bond, skb, slave->dev);
|
|
return 0;
|
|
return 0;
|
|
}
|
|
}
|