linux/net/mptcp
Geliang Tang 77e4b94a3d mptcp: update userspace pm infos
Increase pm subflows counter on both server side and client side when
userspace pm creates a new subflow, and decrease the counter when it
closes a subflow.

Increase add_addr_signaled counter in mptcp_nl_cmd_announce() when the
address is announced by userspace PM.

This modification is similar to how the in-kernel PM is updating the
counter: when additional subflows are created/removed.

Fixes: 9ab4807c84 ("mptcp: netlink: Add MPTCP_PM_CMD_ANNOUNCE")
Fixes: 702c2f646d ("mptcp: netlink: allow userspace-driven subflow establishment")
Closes: https://github.com/multipath-tcp/mptcp_net-next/issues/329
Cc: stable@vger.kernel.org
Reviewed-by: Matthieu Baerts <matthieu.baerts@tessares.net>
Signed-off-by: Geliang Tang <geliang.tang@suse.com>
Signed-off-by: Mat Martineau <martineau@kernel.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
2023-06-05 15:15:57 +01:00
..
bpf.c
crypto_test.c
crypto.c
ctrl.c
diag.c
fastopen.c
Kconfig
Makefile
mib.c
mib.h
mptcp_diag.c
options.c
pm_netlink.c mptcp: only send RM_ADDR in nl_cmd_remove 2023-06-05 15:15:57 +01:00
pm_userspace.c mptcp: update userspace pm infos 2023-06-05 15:15:57 +01:00
pm.c mptcp: update userspace pm infos 2023-06-05 15:15:57 +01:00
protocol.c mptcp: fix active subflow finalization 2023-06-01 10:04:04 -07:00
protocol.h mptcp: only send RM_ADDR in nl_cmd_remove 2023-06-05 15:15:57 +01:00
sockopt.c
subflow.c mptcp: consolidate passive msk socket initialization 2023-06-01 10:04:04 -07:00
syncookies.c
token_test.c
token.c