]> git.ipfire.org Git - thirdparty/iproute2.git/commit
mptcp: add fullmesh check for adding address
authorGeliang Tang <geliang.tang@suse.com>
Wed, 23 Feb 2022 06:50:37 +0000 (14:50 +0800)
committerDavid Ahern <dsahern@kernel.org>
Mon, 28 Feb 2022 01:41:23 +0000 (18:41 -0700)
commit5fb6bda0680a9dcac206c40ee3211abf8507baa4
tree4aa5648140531fa3063a629ad80cee61a82d7aed
parent9831202f2125d2822e725fea61097b17eb994fca
mptcp: add fullmesh check for adding address

The fullmesh flag mustn't be used with the signal flag when adding an
address. Commands like this should be treated as invalid commands:

 ip mptcp endpoint add 10.0.2.1 signal fullmesh

This patch added the necessary flags check for this case.

Acked-by: Mat Martineau <mathew.j.martineau@linux.intel.com>
Signed-off-by: Geliang Tang <geliang.tang@suse.com>
Signed-off-by: David Ahern <dsahern@kernel.org>
ip/ipmptcp.c