Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
net/bonding: fix promiscuous and allmulticast state
[ upstream commit ac5341f ] Currently, promiscuous or allmulticast state of bonding port will not be passed to the new primary slave when active/standby switch-over. It causes bugs in some scenario. For example, promiscuous state of bonding port is off now, primary slave (called A) is off but secondary slave(called B) is on. Then active/standby switch-over, promiscuous state of the bonding port is off, but the new primary slave turns to be B and its promiscuous state is still on. It is not consistent with bonding port. And this patch will fix it. Fixes: 2efb58c ("bond: new link bonding library") Fixes: 68218b8 ("net/bonding: prefer allmulti to promiscuous for LACP") Signed-off-by: Min Hu (Connor) <humin29@huawei.com>
- Loading branch information
1 parent
30dcde8
commit 26f2cc6
Showing
1 changed file
with
70 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters