mirror-linux/tools/testing/selftests/drivers/net/team
Jiayuan Chen 56063823b9 selftests: team: add non-Ethernet header_ops reproducer
Add a team selftest that sets up:
  g0 (gre) -> b0 (bond) -> t0 (team)

and triggers IPv6 traffic on t0. This reproduces the non-Ethernet
header_ops confusion scenario and protects against regressions in stacked
team/bond/gre configurations.

Using this script, the panic reported by syzkaller can be reproduced [1].

After the fix:

  # ./non_ether_header_ops.sh
  PASS: non-Ethernet header_ops stacking did not crash

[1] https://syzkaller.appspot.com/bug?extid=3d8bc31c45e11450f24c

Cc: Jiayuan Chen <jiayuan.chen@linux.dev>
Signed-off-by: Jiayuan Chen <jiayuan.chen@shopee.com>
Link: https://patch.msgid.link/20260320072139.134249-3-jiayuan.chen@linux.dev
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
2026-03-24 11:26:32 +01:00
..
Makefile selftests: team: add non-Ethernet header_ops reproducer 2026-03-24 11:26:32 +01:00
config selftests: team: add non-Ethernet header_ops reproducer 2026-03-24 11:26:32 +01:00
dev_addr_lists.sh
non_ether_header_ops.sh selftests: team: add non-Ethernet header_ops reproducer 2026-03-24 11:26:32 +01:00
options.sh selftests: net: Add tests to verify team driver option set and get. 2025-09-11 11:07:55 +02:00
propagation.sh selftests: net: validate team flags propagation 2025-05-20 18:12:58 -07:00
refleak.sh selftests: team: Add a reference count leak test 2026-02-25 19:17:05 -08:00