mirror_ubuntu-kernels/net/ipv6
Kuniyuki Iwashima b9b7a36817 tcp: Fix data-races around sysctl_tcp_reflect_tos.
BugLink: https://bugs.launchpad.net/bugs/1989218

[ Upstream commit 870e3a634b ]

While reading sysctl_tcp_reflect_tos, it can be changed concurrently.
Thus, we need to add READ_ONCE() to its readers.

Fixes: ac8f1710c1 ("tcp: reflect tos value received in SYN to the socket")
Signed-off-by: Kuniyuki Iwashima <kuniyu@amazon.com>
Acked-by: Wei Wang <weiwan@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Signed-off-by: Kamal Mostafa <kamal@canonical.com>
Signed-off-by: Stefan Bader <stefan.bader@canonical.com>
2022-09-16 10:53:45 +02:00
..
ila
netfilter
addrconf_core.c
addrconf.c ipv6: fix lockdep splat in in6_dump_addrs() 2022-08-26 10:54:19 +02:00
addrlabel.c
af_inet6.c ip: Fix data-races around sysctl_ip_no_pmtu_disc. 2022-09-16 10:53:12 +02:00
ah6.c
anycast.c
calipso.c
datagram.c
esp6_offload.c esp: Fix BEET mode inter address family tunneling on GSO 2022-03-23 11:49:00 +01:00
esp6.c esp: limit skb_page_frag_refill use to a single page 2022-06-22 14:22:07 +02:00
exthdrs_core.c
exthdrs_offload.c
exthdrs.c
fib6_notifier.c
fib6_rules.c ipv6: fix memory leak in fib6_rule_suppress 2022-01-04 09:49:06 +01:00
fou6.c
icmp.c icmp: Fix data-races around sysctl_icmp_echo_enable_probe. 2022-09-16 10:52:50 +02:00
inet6_connection_sock.c
inet6_hashtables.c secure_seq: use the 64 bits of the siphash for port offset calculation 2022-08-10 09:22:13 +02:00
ioam6_iptunnel.c
ioam6.c
ip6_checksum.c
ip6_fib.c ipv6: annotate accesses to fn->fn_sernum 2022-02-03 10:28:51 +01:00
ip6_flowlabel.c ipv6: per-netns exclusive flowlabel checks 2022-03-07 11:44:07 +01:00
ip6_gre.c erspan: do not assume transport header is always set 2022-08-26 10:53:50 +02:00
ip6_icmp.c
ip6_input.c ipv6: make mc_forwarding atomic 2022-05-20 14:40:37 +02:00
ip6_offload.c gso: do not skip outer ip header in case of ipip and net_failover 2022-03-07 11:45:58 +01:00
ip6_offload.h
ip6_output.c ipv6: fix panic when forwarding a pkt with no in6 dev 2022-05-20 14:42:36 +02:00
ip6_tunnel.c ipv6_tunnel: Rate limit warning messages 2022-02-03 10:28:50 +01:00
ip6_udp_tunnel.c
ip6_vti.c ip6_vti: initialize __ip6_tnl_parm struct in vti6_siocdevprivate 2022-01-21 15:49:32 +01:00
ip6mr.c ipv6: make mc_forwarding atomic 2022-05-20 14:40:37 +02:00
ipcomp6.c
ipv6_sockglue.c
Kconfig
Makefile
mcast_snoop.c
mcast.c net: mld: fix reference count leak in mld_{query | report}_work() 2022-09-16 10:53:44 +02:00
mip6.c
ndisc.c
netfilter.c netfilter: Update ip6_route_me_harder to consider L3 domain 2022-06-22 14:22:59 +02:00
output_core.c
ping.c net: ping6: Fix memleak in ipv6_renew_options(). 2022-09-16 10:53:42 +02:00
proc.c
protocol.c
raw.c ipv6: raw: check passed optlen before reading 2022-01-21 15:49:32 +01:00
reassembly.c
route.c nexthop: Fix data-races around nexthop_compat_mode. 2022-09-16 10:52:51 +02:00
rpl_iptunnel.c
rpl.c
seg6_hmac.c net: ipv6: unexport __init-annotated seg6_hmac_net_init() 2022-08-26 10:54:15 +02:00
seg6_iptunnel.c seg6: fix skb checksum evaluation in SRH encapsulation/insertion 2022-09-16 10:52:53 +02:00
seg6_local.c seg6: fix skb checksum in SRv6 End.B6 and End.B6.Encaps behaviors 2022-09-16 10:52:53 +02:00
seg6.c icmp: ICMPV6: Examine invoking packet for Segment Route Headers. 2022-01-28 11:03:03 +01:00
sit.c ipv6/sit: fix ipip6_tunnel_get_prl return value 2022-08-26 10:54:19 +02:00
syncookies.c tcp: Fix data-races around sysctl_tcp_syncookies. 2022-09-16 10:53:20 +02:00
sysctl_net_ipv6.c
tcp_ipv6.c tcp: Fix data-races around sysctl_tcp_reflect_tos. 2022-09-16 10:53:45 +02:00
tcpv6_offload.c
tunnel6.c
udp_impl.h
udp_offload.c
udp.c udp6: Use Segment Routing Header for dest address if present 2022-01-28 11:03:04 +01:00
udplite.c
xfrm6_input.c
xfrm6_output.c xfrm: fix tunnel model fragmentation behavior 2022-05-20 14:37:16 +02:00
xfrm6_policy.c
xfrm6_protocol.c
xfrm6_state.c
xfrm6_tunnel.c