Skip to contentSkip to conversation

selftest: net: bridge mdb add/del entry to port that is down

PATCH Applied Casper Andersson 3 participants 3 messages Jul 1, 2022 – Jul 4, 2022

Subsystems (5)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 selftest: net: bridge mdb add/del entry to port that is down

Tests that permanent mdb entries can be added/deleted on ports with state down.

---
This feature was implemented recently and a selftest was suggested:
https://lore.kernel.org/netdev/20220614063223.zvtrdrh7pbkv3b4v@wse-c0155/

 .../testing/selftests/net/forwarding/Makefile |   1 +
 .../net/forwarding/bridge_mdb_port_down.sh    | 118 ++++++++++++++++++
 2 files changed, 119 insertions(+)
 create mode 100755 tools/testing/selftests/net/forwarding/bridge_mdb_port_down.sh
tools/testing/selftests/net/forwarding/Makefile +1 -0
index 8f481218a492..669ffd6f2a68 100644
@@ -3,6 +3,7 @@
 TEST_PROGS = bridge_igmp.sh \
 	bridge_locked_port.sh \
 	bridge_mdb.sh \
+	bridge_mdb_port_down.sh \
 	bridge_mld.sh \
 	bridge_port_isolation.sh \
 	bridge_sticky_fdb.sh \
tools/testing/selftests/net/forwarding/bridge_mdb_port_down.sh new file +118 -0

118 lines not on this page · raw message

Signature · 1 line
2.30.2
#1 lore raw
This patch was applied to netdev/net-next.git (master) by David S. Miller <[email protected]>:

Hello:

This patch was applied to netdev/net-next.git (master) by David S. Miller <[email protected]>:

Quoted 8 lines · On Fri, 1 Jul 2022 16:43:50 +0200 you wrote:

Tests that permanent mdb entries can be added/deleted on ports with state down.

---
This feature was implemented recently and a selftest was suggested:
https://lore.kernel.org/netdev/20220614063223.zvtrdrh7pbkv3b4v@wse-c0155/

[...]

Here is the summary with links:
- [net-next] selftest: net: bridge mdb add/del entry to port that is down

    https://git.kernel.org/netdev/net-next/c/0d153dd208d4

You are awesome, thank you!

Signature · 2 lines
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html
#2 lore raw
In reply to Casper Andersson
Quoted 7 lines · Casper Andersson

Tests that permanent mdb entries can be added/deleted on ports with state down.

---
This feature was implemented recently and a selftest was suggested:
https://lore.kernel.org/netdev/20220614063223.zvtrdrh7pbkv3b4v@wse-c0155/

Indeed, please CC the people who have suggested it and the bridge maintainers next time. :)

That being said, thank you for the selftest!

Cheers,
Nik