summaryrefslogtreecommitdiff
path: root/scripts/stackusage
diff options
context:
space:
mode:
authorToshiaki Makita <makita.toshiaki@lab.ntt.co.jp>2016-08-04 11:11:19 +0900
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2020-05-10 10:26:35 +0200
commitd7633eef5de379595beb18a42a33534de8c206aa (patch)
tree4859a49b76fa5961c30dbb1a1166d35fb0db6a77 /scripts/stackusage
parent7f9b6b0a1eadf99d7974958233da0b2bbe19d9a0 (diff)
bridge: Fix problems around fdb entries pointing to the bridge device
commit 7bb90c3715a496c650b2e879225030f9dd9cfafb upstream. Adding fdb entries pointing to the bridge device uses fdb_insert(), which lacks various checks and does not respect added_by_user flag. As a result, some inconsistent behavior can happen: * Adding temporary entries succeeds but results in permanent entries. * Same goes for "dynamic" and "use". * Changing mac address of the bridge device causes deletion of user-added entries. * Replacing existing entries looks successful from userspace but actually not, regardless of NLM_F_EXCL flag. Use the same logic as other entries and fix them. Fixes: 3741873b4f73 ("bridge: allow adding of fdb entries pointing to the bridge device") Signed-off-by: Toshiaki Makita <makita.toshiaki@lab.ntt.co.jp> Acked-by: Roopa Prabhu <roopa@cumulusnetworks.com> Signed-off-by: David S. Miller <davem@davemloft.net> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'scripts/stackusage')
0 files changed, 0 insertions, 0 deletions