summaryrefslogtreecommitdiff
path: root/net/ipv4/raw.c
diff options
context:
space:
mode:
authorEric Dumazet <edumazet@google.com>2023-09-22 06:42:20 +0300
committerDavid S. Miller <davem@davemloft.net>2023-10-01 21:39:19 +0300
commitc4480eb5504c9771f935cbca58a3b874bdd36af8 (patch)
tree557c1fe16766040ad2c71c784a1e88fd90977997 /net/ipv4/raw.c
parent959d5c11601b2b337c364b2e3102d392365e3dd3 (diff)
downloadlinux-c4480eb5504c9771f935cbca58a3b874bdd36af8.tar.xz
inet: lockless IP_PKTOPTIONS implementation
Current implementation is already lockless, because the socket lock is released before reading socket fields. Add missing READ_ONCE() annotations. Note that corresponding WRITE_ONCE() are needed, the order of the patches do not really matter. Signed-off-by: Eric Dumazet <edumazet@google.com> Reviewed-by: David Ahern <dsahern@kernel.org> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv4/raw.c')
0 files changed, 0 insertions, 0 deletions