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