diff options
author | Jianguo Wu <wujianguo@chinatelecom.cn> | 2021-05-28 02:54:28 +0300 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2021-05-28 23:59:16 +0300 |
commit | eb5fb629f56da3f40f496c807da44a7ce7644779 (patch) | |
tree | d3d6be4efcd6fc1cad40abe448404bb766cffdf0 /net/mptcp/ctrl.c | |
parent | ae514983f2e416cb1476bdd8e23b6d9be4ce94cd (diff) | |
download | linux-eb5fb629f56da3f40f496c807da44a7ce7644779.tar.xz |
mptcp: make sure flag signal is set when add addr with port
When add address with port, it is mean to create a listening socket,
and send an ADD_ADDR to remote, so it must have flag signal set,
add this check in mptcp_pm_parse_addr().
Fixes: a77e9179c7651 ("mptcp: deal with MPTCP_PM_ADDR_ATTR_PORT in PM netlink")
Acked-by: Geliang Tang <geliangtang@gmail.com>
Reviewed-by: Matthieu Baerts <matthieu.baerts@tessares.net>
Signed-off-by: Jianguo Wu <wujianguo@chinatelecom.cn>
Signed-off-by: Mat Martineau <mathew.j.martineau@linux.intel.com>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'net/mptcp/ctrl.c')
0 files changed, 0 insertions, 0 deletions