diff options
author | 2024-02-02 09:54:04 +0000 | |
---|---|---|
committer | 2024-02-04 16:06:53 +0000 | |
commit | eef00a82c568944f113f2de738156ac591bbd5cd (patch) | |
tree | 0eaec5c81ee4d5e72adab9e1bb89edf7ea019632 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | hv_netvsc: Register VF in netvsc_probe if NET_DEVICE_REGISTER missed (diff) | |
download | wireguard-linux-eef00a82c568944f113f2de738156ac591bbd5cd.tar.xz wireguard-linux-eef00a82c568944f113f2de738156ac591bbd5cd.zip |
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 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions