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)
commitecd2a77d672f0ea954b00bb5700f25bb1f9a32be
treef88ee38cea47ea7a526471af3caacd29b3571132
parentd9a4594edabf125dc17dfd52acc722c3de1cb44c
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