]> git.baikalelectronics.ru Git - kernel.git/commit
selftests: mptcp: support MPTCP_PM_CMD_REMOVE
authorKishen Maloor <kishen.maloor@intel.com>
Wed, 4 May 2022 02:38:55 +0000 (19:38 -0700)
committerDavid S. Miller <davem@davemloft.net>
Wed, 4 May 2022 09:49:32 +0000 (10:49 +0100)
commit768c55bfe92e4386d9f543e0086e2dea79654c96
treef88ee38cea47ea7a526471af3caacd29b3571132
parent748577b2e46715a82273d763b2a937446074a4be
selftests: mptcp: support MPTCP_PM_CMD_REMOVE

This change updates the "pm_nl_ctl" testing sample with a "rem"
(remove) option to support the newly added netlink interface command
MPTCP_PM_CMD_REMOVE to issue a REMOVE_ADDR signal over the
chosen MPTCP connection.

E.g. ./pm_nl_ctl rem token 823274047 id 23

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