WSL2-Linux-Kernel/net/mptcp
Matthieu Baerts (NGI0) c6877abcdb mptcp: pm: send ACK on an active subflow
commit c07cc3ed895f9bfe0c53b5ed6be710c133b4271c upstream.

Taking the first one on the list doesn't work in some cases, e.g. if the
initial subflow is being removed. Pick another one instead of not
sending anything.

Fixes: 84dfe3677a ("mptcp: send out dedicated ADD_ADDR packet")
Cc: stable@vger.kernel.org
Reviewed-by: Mat Martineau <martineau@kernel.org>
Signed-off-by: Matthieu Baerts (NGI0) <matttbe@kernel.org>
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
[ Conflicts in pm_netlink.c, because the code has been refactored in
  commit f5360e9b31 ("mptcp: introduce and use mptcp_pm_send_ack()")
  which is difficult to backport in this version. The same adaptations
  have been applied: iterating over all subflows, and send the ACK on
  the first active subflow. ]
Signed-off-by: Matthieu Baerts (NGI0) <matttbe@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2024-09-12 11:07:45 +02:00
..
Kconfig kunit: mptcp: adhere to KUNIT formatting standard 2021-04-16 17:10:40 -07:00
Makefile kunit: mptcp: adhere to KUNIT formatting standard 2021-04-16 17:10:40 -07:00
crypto.c kunit: mptcp: adhere to KUNIT formatting standard 2021-04-16 17:10:40 -07:00
crypto_test.c
ctrl.c mptcp: faster active backup recovery 2021-08-14 11:37:25 +01:00
diag.c mptcp: correct MPTCP_SUBFLOW_ATTR_SSN_OFFSET reserved size 2024-09-04 13:23:19 +02:00
mib.c mptcp: mib: count MPJ with backup flag 2024-08-19 05:45:48 +02:00
mib.h mptcp: mib: count MPJ with backup flag 2024-08-19 05:45:48 +02:00
mptcp_diag.c net: inet: Retire port only listening_hash 2023-11-28 16:56:22 +00:00
options.c mptcp: pr_debug: add missing \n at the end 2024-09-12 11:07:45 +02:00
pm.c mptcp: pr_debug: add missing \n at the end 2024-09-12 11:07:45 +02:00
pm_netlink.c mptcp: pm: send ACK on an active subflow 2024-09-12 11:07:45 +02:00
protocol.c mptcp: pr_debug: add missing \n at the end 2024-09-12 11:07:45 +02:00
protocol.h mptcp: pr_debug: add missing \n at the end 2024-09-12 11:07:45 +02:00
sockopt.c mptcp: pr_debug: add missing \n at the end 2024-09-12 11:07:45 +02:00
subflow.c mptcp: pr_debug: add missing \n at the end 2024-09-12 11:07:45 +02:00
syncookies.c mptcp: don't return sockets in foreign netns 2021-09-24 10:51:36 +01:00
token.c mptcp: don't return sockets in foreign netns 2021-09-24 10:51:36 +01:00
token_test.c mptcp: don't return sockets in foreign netns 2021-09-24 10:51:36 +01:00