mptcp: add fullmesh flag check for adding address
authorGeliang Tang <geliang.tang@suse.com>
Mon, 7 Mar 2022 20:44:39 +0000 (12:44 -0800)
committerJakub Kicinski <kuba@kernel.org>
Wed, 9 Mar 2022 06:06:12 +0000 (22:06 -0800)
commit0dc626e5e853a966dfbb6ee6cd607e13a2acd5ae
treeeb14f91635bc38a1f4ec50ea5e02ad569178654d
parent69c6ce7b6ecad8ed6c1b785bfadf50159d9f1023
mptcp: add fullmesh flag check for adding address

The fullmesh flag mustn't be used with the signal flag when adding an
address. This patch added the necessary flags check for this case.

Fixes: 73c762c1f07d ("mptcp: set fullmesh flag in pm_netlink")
Signed-off-by: Geliang Tang <geliang.tang@suse.com>
Signed-off-by: Mat Martineau <mathew.j.martineau@linux.intel.com>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
net/mptcp/pm_netlink.c