diff options
author | Eric Dumazet <edumazet@google.com> | 2023-09-12 16:02:04 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2023-09-15 10:33:47 +0100 |
commit | dcae74622c051b219ee628669a31716473efda2c (patch) | |
tree | 3f58f19b52c4f580955bd41e150fc12169f738ea /include/linux/ipv6.h | |
parent | 273784d3c5741522199011772651dbb50db8c810 (diff) | |
download | lwn-dcae74622c051b219ee628669a31716473efda2c.tar.gz lwn-dcae74622c051b219ee628669a31716473efda2c.zip |
ipv6: lockless IPV6_RECVERR_RFC4884 implementation
Move np->recverr_rfc4884 to an atomic flag 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/linux/ipv6.h')
-rw-r--r-- | include/linux/ipv6.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/include/linux/ipv6.h b/include/linux/ipv6.h index 9cc278b5e4f4..0d2b0a1b2dae 100644 --- a/include/linux/ipv6.h +++ b/include/linux/ipv6.h @@ -256,7 +256,6 @@ struct ipv6_pinfo { autoflowlabel:1, autoflowlabel_set:1, mc_all:1, - recverr_rfc4884:1, rtalert_isolate:1; __u8 min_hopcount; __u8 tclass; |