diff options
author | David S. Miller <davem@davemloft.net> | 2014-02-10 14:35:11 -0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2014-02-10 14:35:11 -0800 |
commit | 684bd2e199c82e00e96e123a5baa581a0f2b4872 (patch) | |
tree | 1f7410a566554747361af7b05c2a29b9ca83cccb /mm | |
parent | b10bd54c05a6c3c96549f4642d7de23c99b9853b (diff) | |
parent | ac4c8868837a7c70ebb3eaf2298324a3b61b214e (diff) | |
download | op-kernel-dev-684bd2e199c82e00e96e123a5baa581a0f2b4872.zip op-kernel-dev-684bd2e199c82e00e96e123a5baa581a0f2b4872.tar.gz |
Merge branch 'bridge'
Toshiaki Makita says:
====================
bridge: Fix corner case problems around local fdb entries
There are so many corner cases that are not handled properly around local
fdb entries.
- We might fail to delete the old entry and might delete an arbitrary local
entry when changing mac address of a bridge port.
- We always fail to delete the old entry when changing mac address of the
bridge device.
- We might incorrectly delete a necessary entry when detaching a bridge port.
- We might incorrectly delete a necessary entry when deleting a vlan.
and so on.
This is a patch series to fix these issues.
v3:
- Handle NTF_USE case in patch 1/9, commented by Vlad Yasevich.
- Tested port detach/attach and didn't find any problem with patch 5/9,
suggested by Stephen Hemminger.
- Add comments about possible inconsistent state in current implementation
into commit log of patch 5/9, found by the above test.
- Reword unintensive changelog of patch 7/9, commented by Vlad Yasevich.
v2:
- Change the way to find the old entry in br_fdb_changeaddr() from memorizing
previous port address to introducing a new flag indicating whether a fdb
entry is added by user or not, commented by Stephen Hemminger.
- Add a fix for the way to insert a new address in br_fdb_changeaddr().
- Prevent creating an entry such that its dst is NULL in br_add_if() to
preserve old behavior, commented by Vlad Yasevich.
- Add more comments about slight behavior change, where the bridge device
come to be able to receive traffic to an address it has during short
window, to changelogs, commented by Vlad Yasevich.
- Add a fix for possible race in br_fdb_change_mac_address().
====================
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'mm')
0 files changed, 0 insertions, 0 deletions