diff options
author | 2023-09-12 16:02:10 +0000 | |
---|---|---|
committer | 2023-09-15 10:33:48 +0100 | |
commit | 83cd5eb654b320c1972254f243531f3f3cebcccf (patch) | |
tree | a8d72a0578be0a6c28249b7792498117fb84fee6 /include/net/inet_sock.h | |
parent | ipv6: move np->repflow to atomic flags (diff) | |
download | linux-83cd5eb654b320c1972254f243531f3f3cebcccf.tar.gz linux-83cd5eb654b320c1972254f243531f3f3cebcccf.tar.bz2 linux-83cd5eb654b320c1972254f243531f3f3cebcccf.zip |
ipv6: lockless IPV6_ROUTER_ALERT_ISOLATE implementation
Reads from np->rtalert_isolate are racy.
Move this flag 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 5d61c7dc6577..befee0f66c05 100644 --- a/include/net/inet_sock.h +++ b/include/net/inet_sock.h @@ -276,6 +276,7 @@ enum { INET_FLAGS_DONTFRAG = 25, INET_FLAGS_RECVERR6 = 26, INET_FLAGS_REPFLOW = 27, + INET_FLAGS_RTALERT_ISOLATE = 28, }; /* cmsg flags for inet */ |