]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
selftests: net: add team_bridge_macvlan rx_mode test
authorStanislav Fomichev <sdf.kernel@gmail.com>
Thu, 16 Apr 2026 18:57:11 +0000 (11:57 -0700)
committerPaolo Abeni <pabeni@redhat.com>
Tue, 21 Apr 2026 10:50:25 +0000 (12:50 +0200)
commitee514cdb07b330b2a9012e5373d26959fbbc4f81
treef37d15a07308484ec4083fc86484bfd1c7284025
parent3cbd22938877e0c0c7c193a91d5a6d5149c39490
selftests: net: add team_bridge_macvlan rx_mode test

Add a test that exercises the ndo_change_rx_flags path through a
macvlan -> bridge -> team -> dummy stack. This triggers dev_uc_add
under addr_list_lock which flips promiscuity on the lower device.
With the new work queue approach, this must not deadlock.

Link: https://lore.kernel.org/netdev/20260214033859.43857-1-jiayuan.chen@linux.dev/
Reviewed-by: Breno Leitao <leitao@debian.org>
Signed-off-by: Stanislav Fomichev <sdf@fomichev.me>
Link: https://patch.msgid.link/20260416185712.2155425-15-sdf@fomichev.me
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
tools/testing/selftests/net/config
tools/testing/selftests/net/rtnetlink.sh