diff options
author | 2023-08-31 13:52:10 +0000 | |
---|---|---|
committer | 2023-09-01 07:27:33 +0100 | |
commit | 9531e4a83febc3fb47ac77e24cfb5ea97e50034d (patch) | |
tree | e840aa2a06bb4c1a2a0dee027a6d256681a52020 /net/can | |
parent | net: annotate data-races around sk->sk_forward_alloc (diff) | |
download | linux-9531e4a83febc3fb47ac77e24cfb5ea97e50034d.tar.gz linux-9531e4a83febc3fb47ac77e24cfb5ea97e50034d.tar.bz2 linux-9531e4a83febc3fb47ac77e24cfb5ea97e50034d.zip |
mptcp: annotate data-races around msk->rmem_fwd_alloc
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: 6511882cdd82 ("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>
Diffstat (limited to 'net/can')
0 files changed, 0 insertions, 0 deletions