sst-linux/net/mptcp
Eric Dumazet b7d25ac362 mptcp: annotate data-races around msk->rmem_fwd_alloc
[ Upstream commit 9531e4a83febc3fb47ac77e24cfb5ea97e50034d ]

msk->rmem_fwd_alloc can be read locklessly.

Add mptcp_rmem_fwd_alloc_add(), similar to sk_forward_alloc_add(),
and appropriate READ_ONCE()/WRITE_ONCE() annotations.

Fixes: 6511882cdd ("mptcp: allocate fwd memory separately on the rx and tx path")
Signed-off-by: Eric Dumazet <edumazet@google.com>
Cc: Paolo Abeni <pabeni@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2023-09-19 12:28:01 +02:00
..
bpf.c
crypto_test.c
crypto.c
ctrl.c
diag.c
Kconfig
Makefile
mib.c
mib.h
mptcp_diag.c
options.c mptcp: use mptcp_schedule_work instead of open-coding it 2023-04-20 12:35:13 +02:00
pm_netlink.c mptcp: ensure listener is unhashed before updating the sk status 2023-07-01 13:16:22 +02:00
pm_userspace.c mptcp: update userspace pm infos 2023-06-14 11:15:27 +02:00
pm.c mptcp: update userspace pm infos 2023-06-14 11:15:27 +02:00
protocol.c mptcp: annotate data-races around msk->rmem_fwd_alloc 2023-09-19 12:28:01 +02:00
protocol.h mptcp: fix disconnect vs accept race 2023-08-16 18:27:21 +02:00
sockopt.c net: annotate data-races around sk->sk_mark 2023-08-11 12:08:14 +02:00
subflow.c mptcp: fix disconnect vs accept race 2023-08-16 18:27:21 +02:00
syncookies.c
token_test.c
token.c