]> git.hungrycats.org Git - linux/commit
selftests: net: add a test case for nsid in all nsid notifications
authorIlya Maximets <i.maximets@ovn.org>
Wed, 20 May 2026 17:22:38 +0000 (19:22 +0200)
committerJakub Kicinski <kuba@kernel.org>
Sat, 23 May 2026 00:11:09 +0000 (17:11 -0700)
commit2e43b64248909c617281921d6d9ba3bfc0159473
tree24f1411d505957047bbf802436288f418a95b039
parent88b126b39f9757e9debc322d4679239e9af089c7
selftests: net: add a test case for nsid in all nsid notifications

The test subscribes to link events from all namespaces and makes
sure that local events do not carry NSID in their ancillary data
(even if there is a self-referential NSID allocated for the local
namespace), and remote events do.

Signed-off-by: Ilya Maximets <i.maximets@ovn.org>
Acked-by: Nicolas Dichtel <nicolas.dichtel@6wind.com>
Link: https://patch.msgid.link/20260520172317.175168-5-i.maximets@ovn.org
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
tools/testing/selftests/net/link_netns.py