aboutsummaryrefslogtreecommitdiff
path: root/include/net/inet_sock.h
diff options
context:
space:
mode:
authorGravatar Eric Dumazet <edumazet@google.com> 2023-09-12 16:02:04 +0000
committerGravatar David S. Miller <davem@davemloft.net> 2023-09-15 10:33:47 +0100
commitdcae74622c051b219ee628669a31716473efda2c (patch)
tree3f58f19b52c4f580955bd41e150fc12169f738ea /include/net/inet_sock.h
parentipv6: lockless IPV6_MINHOPCOUNT implementation (diff)
downloadlinux-dcae74622c051b219ee628669a31716473efda2c.tar.gz
linux-dcae74622c051b219ee628669a31716473efda2c.tar.bz2
linux-dcae74622c051b219ee628669a31716473efda2c.zip
ipv6: lockless IPV6_RECVERR_RFC4884 implementation
Move np->recverr_rfc4884 to an atomic flag to fix data-races. 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 'include/net/inet_sock.h')
-rw-r--r--include/net/inet_sock.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/net/inet_sock.h b/include/net/inet_sock.h
index b5a9dca92fb4..8cf1f7b44234 100644
--- a/include/net/inet_sock.h
+++ b/include/net/inet_sock.h
@@ -269,6 +269,7 @@ enum {
INET_FLAGS_BIND_ADDRESS_NO_PORT = 18,
INET_FLAGS_DEFER_CONNECT = 19,
INET_FLAGS_MC6_LOOP = 20,
+ INET_FLAGS_RECVERR6_RFC4884 = 21,
};
/* cmsg flags for inet */