mirror of
https://github.com/raspberrypi/linux.git
synced 2025-12-15 22:41:38 +00:00
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>
This commit is contained in:
committed by
David S. Miller
parent
3cccda8db2
commit
83cd5eb654
@@ -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 */
|
||||
|
||||
Reference in New Issue
Block a user