summaryrefslogtreecommitdiffstats
path: root/include/net
diff options
context:
space:
mode:
authorEric Dumazet <edumazet@google.com>2023-09-12 18:02:04 +0200
committerDavid S. Miller <davem@davemloft.net>2023-09-15 11:33:47 +0200
commitdcae74622c051b219ee628669a31716473efda2c (patch)
tree3f58f19b52c4f580955bd41e150fc12169f738ea /include/net
parentipv6: lockless IPV6_MINHOPCOUNT implementation (diff)
downloadlinux-dcae74622c051b219ee628669a31716473efda2c.tar.xz
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')
-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 */