All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH net 0/7] bridge: Fix corner case problems around local fdb entries
@ 2013-12-02  6:40 Toshiaki Makita
  2013-12-02  6:40 ` [PATCH net 1/7] bridge: Fix the way finding the old local fdb entry in br_fdb_changeaddr Toshiaki Makita
                   ` (6 more replies)
  0 siblings, 7 replies; 20+ messages in thread
From: Toshiaki Makita @ 2013-12-02  6:40 UTC (permalink / raw)
  To: David S . Miller, Stephen Hemminger, Vlad Yasevich, netdev
  Cc: Toshiaki Makita

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

^ permalink raw reply	[flat|nested] 20+ messages in thread

end of thread, other threads:[~2013-12-05  8:55 UTC | newest]

Thread overview: 20+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-12-02  6:40 [PATCH net 0/7] bridge: Fix corner case problems around local fdb entries Toshiaki Makita
2013-12-02  6:40 ` [PATCH net 1/7] bridge: Fix the way finding the old local fdb entry in br_fdb_changeaddr Toshiaki Makita
2013-12-03  2:09   ` Stephen Hemminger
2013-12-03 12:55     ` Toshiaki Makita
2013-12-03 16:50       ` Stephen Hemminger
2013-12-04  7:55         ` Toshiaki Makita
2013-12-02  6:40 ` [PATCH net 2/7] bridge: Fix the way finding the old local fdb entry in br_fdb_change_mac_address Toshiaki Makita
2013-12-02  6:40 ` [PATCH net 3/7] bridge: Change local fdb entries whenever mac address of bridge device changes Toshiaki Makita
2013-12-02 15:43   ` Vlad Yasevich
2013-12-03 12:33     ` Toshiaki Makita
2013-12-02  6:40 ` [PATCH net 4/7] bridge: Fix the way checking if a local fdb entry can be deleted Toshiaki Makita
2013-12-02 17:07   ` Vlad Yasevich
2013-12-03 12:45     ` Toshiaki Makita
2013-12-03 15:41       ` Vlad Yasevich
2013-12-04  8:29         ` Toshiaki Makita
2013-12-04 16:40           ` Vlad Yasevich
2013-12-05  8:54             ` Toshiaki Makita
2013-12-02  6:40 ` [PATCH net 5/7] bridge: Properly check if local fdb entry can be deleted in br_fdb_change_mac_address Toshiaki Makita
2013-12-02  6:40 ` [PATCH net 6/7] bridge: Properly check if local fdb entry can be deleted in br_fdb_delete_by_port Toshiaki Makita
2013-12-02  6:40 ` [PATCH net 7/7] bridge: Properly check if local fdb entry can be deleted when deleting vlan Toshiaki Makita

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.