[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <1385966439-26526-1-git-send-email-makita.toshiaki@lab.ntt.co.jp>
Date: Mon, 2 Dec 2013 15:40:31 +0900
From: Toshiaki Makita <makita.toshiaki@....ntt.co.jp>
To: "David S . Miller" <davem@...emloft.net>,
Stephen Hemminger <stephen@...workplumber.org>,
Vlad Yasevich <vyasevic@...hat.com>, netdev@...r.kernel.org
Cc: Toshiaki Makita <makita.toshiaki@....ntt.co.jp>
Subject: [PATCH net 0/7] 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.
Toshiaki Makita (7):
bridge: Fix the way finding the old local fdb entry in
br_fdb_changeaddr
bridge: Fix the way finding the old local fdb entry in
br_fdb_change_mac_address
bridge: Change local fdb entries whenever mac address of bridge device
changes
bridge: Fix the way checking if a local fdb entry can be deleted
bridge: Properly check if local fdb entry can be deleted in
br_fdb_change_mac_address
bridge: Properly check if local fdb entry can be deleted in
br_fdb_delete_by_port
bridge: Properly check if local fdb entry can be deleted when deleting
vlan
net/bridge/br_device.c | 3 +-
net/bridge/br_fdb.c | 144 ++++++++++++++++++++++--------------------------
net/bridge/br_if.c | 1 +
net/bridge/br_notify.c | 9 ++-
net/bridge/br_private.h | 27 ++++++++-
net/bridge/br_stp_if.c | 2 +
net/bridge/br_vlan.c | 23 +++++++-
7 files changed, 120 insertions(+), 89 deletions(-)
--
1.8.1.2
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists