OSDN Git Service

net: annotate accesses to sk->sk_rx_queue_mapping
authorEric Dumazet <edumazet@google.com>
Mon, 25 Oct 2021 16:48:20 +0000 (09:48 -0700)
committerJakub Kicinski <kuba@kernel.org>
Tue, 26 Oct 2021 01:02:13 +0000 (18:02 -0700)
commit09b898466792b0c387040e6df90a16e7a9f2a5d9
treef59306eb7b70c5d168db4b2e3ae087320431c671
parent342159ee394d103db4bea1b01f932c50e66be163
net: annotate accesses to sk->sk_rx_queue_mapping

sk->sk_rx_queue_mapping can be modified locklessly,
add a couple of READ_ONCE()/WRITE_ONCE() to document this fact.

Signed-off-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
include/net/sock.h