mbox series

[v2,net-next,0/2] net: bridge: add support for host l2 mdb entries

Message ID 20220411084054.298807-1-troglobit@gmail.com (mailing list archive)
Headers show
Series net: bridge: add support for host l2 mdb entries | expand

Message

Joachim Wiberg April 11, 2022, 8:40 a.m. UTC
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

Comments

patchwork-bot+netdevbpf@kernel.org April 12, 2022, 8:30 a.m. UTC | #1
Hello:

This series was applied to netdev/net-next.git (master)
by Paolo Abeni <pabeni@redhat.com>:

On Mon, 11 Apr 2022 10:40:52 +0200 you wrote:
> 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.
> 
> [...]

Here is the summary with links:
  - [v2,net-next,1/2] net: bridge: add support for host l2 mdb entries
    https://git.kernel.org/netdev/net-next/c/e65693b0179e
  - [v2,net-next,2/2] selftests: forwarding: new test, verify host mdb entries
    https://git.kernel.org/netdev/net-next/c/50fe062c806e

You are awesome, thank you!