linux/net/mptcp
Paolo Abeni 9e9e2107ae mptcp: fix setsockopt(IP_TOS) subflow locking
commit 7679d34f97 upstream.

The MPTCP implementation of the IP_TOS socket option uses the lockless
variant of the TOS manipulation helper and does not hold such lock at
the helper invocation time.

Add the required locking.

Fixes: ffcacff87c ("mptcp: Support for IP_TOS for MPTCP setsockopt()")
Cc: stable@vger.kernel.org
Closes: https://github.com/multipath-tcp/mptcp_net-next/issues/457
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Reviewed-by: Mat Martineau <martineau@kernel.org>
Signed-off-by: Matthieu Baerts <matttbe@kernel.org>
Link: https://lore.kernel.org/r/20231114-upstream-net-20231113-mptcp-misc-fixes-6-7-rc2-v1-4-7b9cd6a7b7f4@kernel.org
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2023-11-28 17:07:20 +00:00
..
bpf.c
crypto_test.c
crypto.c
ctrl.c
diag.c
Kconfig
Makefile
mib.c
mib.h
mptcp_diag.c tcp: Access &tcp_hashinfo via net. 2022-09-20 10:21:49 -07:00
options.c mptcp: fix bogus receive window shrinkage with multiple subflows 2023-10-06 14:57:00 +02:00
pm_netlink.c mptcp: add validity check for sending RM_ADDR 2023-11-28 17:07:20 +00:00
pm_userspace.c mptcp: userspace pm allow creating id 0 subflow 2023-10-10 22:00:38 +02:00
pm.c mptcp: update userspace pm infos 2023-06-14 11:15:27 +02:00
protocol.c mptcp: deal with large GSO size 2023-11-28 17:07:20 +00:00
protocol.h mptcp: fix delegated action races 2023-10-19 23:08:49 +02:00
sockopt.c mptcp: fix setsockopt(IP_TOS) subflow locking 2023-11-28 17:07:20 +00:00
subflow.c mptcp: fix delegated action races 2023-10-19 23:08:49 +02:00
syncookies.c
token_test.c
token.c