Skip to contentSkip to conversation

selftests/bonding: add a test for bonding lladdr target

PATCH Applied Hangbin Liu 2 participants 2 messages Sep 20, 2022

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

PATCH 1/1 selftests/bonding: add a test for bonding lladdr target

This is a regression test for commit 592335a4164c ("bonding: accept unsolicited NA message") and commit b7f14132bf58 ("bonding: use unspecified address if no available link local address"). When the bond interface up and no available link local address, unspecified address(::) is used to send the NS message. The unsolicited NA message should also be accepted for validation.

---
 .../selftests/drivers/net/bonding/Makefile    |  1 +
 .../drivers/net/bonding/bond-lladdr-target.sh | 65 +++++++++++++++++++
 2 files changed, 66 insertions(+)
 create mode 100755 tools/testing/selftests/drivers/net/bonding/bond-lladdr-target.sh
tools/testing/selftests/drivers/net/bonding/Makefile +1 -0
index ab6c54b12098..d209f7a98b6c 100644
@@ -2,5 +2,6 @@
 # Makefile for net selftests
 
 TEST_PROGS := bond-break-lacpdu-tx.sh
+TEST_PROGS += bond-lladdr-target.sh
 
 include ../../../lib.mk
tools/testing/selftests/drivers/net/bonding/bond-lladdr-target.sh new file +65 -0

65 lines not on this page · raw message

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

Hello:

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

Quoted 8 lines · On Tue, 20 Sep 2022 11:30:47 +0800 you wrote:

This is a regression test for commit 592335a4164c ("bonding: accept unsolicited NA message") and commit b7f14132bf58 ("bonding: use unspecified address if no available link local address"). When the bond interface up and no available link local address, unspecified address(::) is used to send the NS message. The unsolicited NA message should also be accepted for validation.

[...]

Here is the summary with links:
- [(repost),net-next] selftests/bonding: add a test for bonding lladdr target

    https://git.kernel.org/netdev/net-next/c/152e8ec77640

You are awesome, thank you!

Signature · 2 lines
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html