[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20220411084054.298807-1-troglobit@gmail.com>
Date: Mon, 11 Apr 2022 10:40:52 +0200
From: Joachim Wiberg <troglobit@...il.com>
To: Jakub Kicinski <kuba@...nel.org>
Cc: Nikolay Aleksandrov <razor@...ckwall.org>,
Roopa Prabhu <roopa@...dia.com>, netdev@...r.kernel.org,
bridge@...ts.linux-foundation.org,
"David S . Miller" <davem@...emloft.net>,
Joachim Wiberg <troglobit@...il.com>
Subject: [PATCH v2 net-next 0/2] net: bridge: add support for host l2 mdb entries
Fix to an obvious omissions for layer-2 host mdb entries, this v2 adds
the missing selftest and some minor style fixes.
Note: this patch revealed some worrying problems in how the bridge
forwards unknown BUM traffic and also how unknown multicast is
forwarded when a IP multicast router is known, which a another
(RFC) patch series intend to address. That series will build
on this selftest, hence the name of the test.
/Joachim
v2:
- Add braces to other if/else clauses (Jakub)
- Add selftest to verify add/del of mac/ipv4/ipv6 mdb entries (Jakub)
Joachim Wiberg (2):
net: bridge: add support for host l2 mdb entries
selftests: forwarding: new test, verify host mdb entries
net/bridge/br_mdb.c | 12 +-
.../testing/selftests/net/forwarding/Makefile | 1 +
.../selftests/net/forwarding/bridge_mdb.sh | 103 ++++++++++++++++++
3 files changed, 111 insertions(+), 5 deletions(-)
create mode 100755 tools/testing/selftests/net/forwarding/bridge_mdb.sh
--
2.25.1
Powered by blists - more mailing lists