commit | 859f8b265fc2a11af0fb0c52b4087e0409250592 | [log] [tgz] |
---|---|---|
author | Eric Dumazet <edumazet@google.com> | Tue Sep 12 16:02:12 2023 +0000 |
committer | David S. Miller <davem@davemloft.net> | Fri Sep 15 10:33:48 2023 +0100 |
tree | 7096c954f2073480a2cb52ef4e443bac1b336679 | |
parent | 6b724bc4300b431443f3b99520994a5aece347cd [diff] |
ipv6: lockless IPV6_FLOWINFO_SEND implementation np->sndflow reads are racy. Use one bit ftom atomic inet->inet_flags instead, IPV6_FLOWINFO_SEND setsockopt() can be lockless. Signed-off-by: Eric Dumazet <edumazet@google.com> Reviewed-by: David Ahern <dsahern@kernel.org> Signed-off-by: David S. Miller <davem@davemloft.net>