Paolo Abeni 7679d34f97 mptcp: fix setsockopt(IP_TOS) subflow locking
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: ffcacff87cd6 ("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>
2023-11-14 20:10:20 -08:00
..
2023-10-23 08:45:25 +01:00
2023-10-01 19:09:54 +01:00
2023-05-31 13:06:57 +02:00
2023-08-29 17:39:15 -07:00
2023-10-26 20:27:58 -07:00
2023-06-24 15:41:46 -07:00
2023-11-08 18:15:00 -08:00
2023-10-01 19:09:54 +01:00
2023-11-08 13:39:16 -08:00
2023-10-26 20:27:58 -07:00
2023-10-01 19:09:54 +01:00
2023-10-11 10:39:01 +01:00