]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
selftests: net: add vxlan vnifilter notification test
authorAndy Roulin <aroulin@nvidia.com>
Tue, 2 Jun 2026 18:51:38 +0000 (11:51 -0700)
committerJakub Kicinski <kuba@kernel.org>
Thu, 4 Jun 2026 15:47:45 +0000 (08:47 -0700)
commit8df1c84e7272a5e24b563df7e50111dc81014d4a
treec785e68b6c90a0006d56789889efcfa3d866d889
parent84683b5b60c7274e2c8f7f413d39d78d3db5540f
selftests: net: add vxlan vnifilter notification test

Add a selftest for VXLAN vnifilter netlink notifications that verifies
RTM_NEWTUNNEL and RTM_DELTUNNEL are sent correctly when VNIs are added,
deleted, or updated, and that no spurious notifications are sent when
a VNI is re-added with the same attributes.

Signed-off-by: Andy Roulin <aroulin@nvidia.com>
Acked-by: Petr Machata <petrm@nvidia.com>
Link: https://patch.msgid.link/20260602185138.253265-4-aroulin@nvidia.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
tools/testing/selftests/net/Makefile
tools/testing/selftests/net/test_vxlan_vnifilter_notify.sh [new file with mode: 0755]