]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
selftests: net: simple selftest for ipvtap
authorDmitry Skorodumov <dskr99@gmail.com>
Mon, 12 Jan 2026 14:24:07 +0000 (17:24 +0300)
committerJakub Kicinski <kuba@kernel.org>
Mon, 19 Jan 2026 18:03:31 +0000 (10:03 -0800)
commit8becfe16e4a12218c703a98f5bfc15b6f0fbd99c
tree55997fcc81d0efaf3b373edefda3c6b0520d82f5
parentd3ba32162488283c0a4c5bedd8817aec91748802
selftests: net: simple selftest for ipvtap

This is a simple ipvtap test to test handling
IP-address add/remove on ipvlan interface.

It creates a veth-interface and then creates several
network-namespace with ipvlan0 interface in it linked to veth.

Then it starts to add/remove addresses on ipvlan0 interfaces
in several threads.

At finish, it checks that there is no duplicated addresses.

Signed-off-by: Dmitry Skorodumov <skorodumov.dmitry@huawei.com>
Link: https://patch.msgid.link/20260112142417.4039566-3-skorodumov.dmitry@huawei.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
tools/testing/selftests/net/Makefile
tools/testing/selftests/net/config
tools/testing/selftests/net/ipvtap_test.sh [new file with mode: 0755]