Message ID | 7b0d827769974176835440fe5211522a@huawei.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
Series | 答复: [Discuss]Questions about active slave select in bonding 8023ad | expand |
Context | Check | Description |
---|---|---|
netdev/tree_selection | success | Guessing tree name failed - patch did not apply |
diff --git a/drivers/net/bonding/bond_3ad.c b/drivers/net/bonding/bond_3ad.c index ae0393dff..8494420ed 100644 --- a/drivers/net/bonding/bond_3ad.c +++ b/drivers/net/bonding/bond_3ad.c @@ -1819,6 +1819,8 @@ static void ad_agg_selection_logic(struct aggregator *agg, __disable_port(port); } } + port = best->lag_ports; + __enbale_port(port); /* Slave array needs update. */ *update_slave_arr = true; }