aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorEric Dumazet2024-02-02 09:54:04 +0000
committerDavid S. Miller2024-02-04 16:06:53 +0000
commiteef00a82c568944f113f2de738156ac591bbd5cd (patch)
tree0eaec5c81ee4d5e72adab9e1bb89edf7ea019632 /Makefile
parent9cae43da9867412f8bd09aee5c8a8dc5e8dc3dc2 (diff)
inet: read sk->sk_family once in inet_recv_error()
inet_recv_error() is called without holding the socket lock. IPv6 socket could mutate to IPv4 with IPV6_ADDRFORM socket option and trigger a KCSAN warning. Fixes: f4713a3dfad0 ("net-timestamp: make tcp_recvmsg call ipv6_recv_error for AF_INET6 socks") Signed-off-by: Eric Dumazet <edumazet@google.com> Cc: Willem de Bruijn <willemb@google.com> Reviewed-by: Willem de Bruijn <willemb@google.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'Makefile')
0 files changed, 0 insertions, 0 deletions