ipv6: lockless IPV6_AUTOFLOWLABEL implementation
authorEric Dumazet <edumazet@google.com>
Tue, 12 Sep 2023 16:02:06 +0000 (16:02 +0000)
committerDavid S. Miller <davem@davemloft.net>
Fri, 15 Sep 2023 09:33:47 +0000 (10:33 +0100)
commit5121516b0c4736b7977d977b239e36d23ec64401
tree9c4948d94eb4e8fc9f4f32c9870f747b4d7456a4
parent6559c0ff3bc27d7e4d447d31c1d7e8eae0e959f5
ipv6: lockless IPV6_AUTOFLOWLABEL implementation

Move np->autoflowlabel and np->autoflowlabel_set in 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>
include/linux/ipv6.h
include/net/inet_sock.h
include/net/ipv6.h
net/ipv6/ip6_output.c
net/ipv6/ipv6_sockglue.c