diff options
author | Eric Dumazet <edumazet@google.com> | 2023-09-22 06:42:20 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2023-10-01 21:39:19 +0300 |
commit | c4480eb5504c9771f935cbca58a3b874bdd36af8 (patch) | |
tree | 557c1fe16766040ad2c71c784a1e88fd90977997 /net/ipv4/raw.c | |
parent | 959d5c11601b2b337c364b2e3102d392365e3dd3 (diff) | |
download | linux-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