diff options
author | Sabrina Dubroca <sd@queasysnail.net> | 2019-04-12 16:04:10 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2019-04-15 23:22:09 +0300 |
commit | 92480b3977fd3884649d404cbbaf839b70035699 (patch) | |
tree | 3fc0c1fc92ed516b9d1b2fc04d8a733730b1348e /MAINTAINERS | |
parent | 8ed633b9baf9ec7d593ebb8e256312ff1c70ab37 (diff) | |
download | linux-92480b3977fd3884649d404cbbaf839b70035699.tar.xz |
bonding: fix event handling for stacked bonds
When a bond is enslaved to another bond, bond_netdev_event() only
handles the event as if the bond is a master, and skips treating the
bond as a slave.
This leads to a refcount leak on the slave, since we don't remove the
adjacency to its master and the master holds a reference on the slave.
Reproducer:
ip link add bondL type bond
ip link add bondU type bond
ip link set bondL master bondU
ip link del bondL
No "Fixes:" tag, this code is older than git history.
Signed-off-by: Sabrina Dubroca <sd@queasysnail.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'MAINTAINERS')
0 files changed, 0 insertions, 0 deletions