diff options
author | Eric Dumazet <edumazet@google.com> | 2023-09-12 16:02:08 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2023-09-15 10:33:48 +0100 |
commit | 3fa29971c69519629370b119b0b618ee88ade6b9 (patch) | |
tree | 3008d12c2cb04af2d4e8038799d28dcfce797b7b /include/net/inet_sock.h | |
parent | 1086ca7cce292bb498d7f8f85f4593c9ef4902b7 (diff) | |
download | lwn-3fa29971c69519629370b119b0b618ee88ade6b9.tar.gz lwn-3fa29971c69519629370b119b0b618ee88ade6b9.zip |
ipv6: lockless IPV6_RECVERR implemetation
np->recverr is moved to inet->inet_flags 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.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/net/inet_sock.h b/include/net/inet_sock.h index ac75324e9e1e..3b79bc759ff4 100644 --- a/include/net/inet_sock.h +++ b/include/net/inet_sock.h @@ -274,6 +274,7 @@ enum { INET_FLAGS_AUTOFLOWLABEL_SET = 23, INET_FLAGS_AUTOFLOWLABEL = 24, INET_FLAGS_DONTFRAG = 25, + INET_FLAGS_RECVERR6 = 26, }; /* cmsg flags for inet */ |