]> git.baikalelectronics.ru Git - kernel.git/commit
selftests: mptcp: capture netlink events
authorKishen Maloor <kishen.maloor@intel.com>
Wed, 4 May 2022 02:38:59 +0000 (19:38 -0700)
committerDavid S. Miller <davem@davemloft.net>
Wed, 4 May 2022 09:49:32 +0000 (10:49 +0100)
commitf1a68e962a165a394eeffbe84159b4e09d26b7b8
treee9ebfa63db6d31935604ed985ced4b344096a6fd
parent71fda82140078f76293bef827f02357aea46d438
selftests: mptcp: capture netlink events

This change adds to self-testing support for the MPTCP netlink interface
by capturing various MPTCP netlink events (and all their metadata)
associated with connections, subflows and address announcements.
It is used in self-testing scripts that exercise MPTCP netlink commands
to precisely validate those operations by examining the dispatched
MPTCP netlink events in response to those commands.

Acked-by: Paolo Abeni <pabeni@redhat.com>
Signed-off-by: Kishen Maloor <kishen.maloor@intel.com>
Signed-off-by: Mat Martineau <mathew.j.martineau@linux.intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
tools/testing/selftests/net/mptcp/pm_nl_ctl.c