Skip to content
Commit 9531e4a8 authored by Eric Dumazet's avatar Eric Dumazet Committed by David S. Miller
Browse files

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: 6511882c ("mptcp: allocate fwd memory separately on the rx and tx path")
Signed-off-by: default avatarEric Dumazet <edumazet@google.com>
Cc: Paolo Abeni <pabeni@redhat.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 5e6300e7
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment