aboutsummaryrefslogtreecommitdiff
path: root/scripts/generate_rust_analyzer.py
diff options
context:
space:
mode:
authorEric Dumazet <[email protected]>2024-02-02 09:54:04 +0000
committerDavid S. Miller <[email protected]>2024-02-04 16:06:53 +0000
commiteef00a82c568944f113f2de738156ac591bbd5cd (patch)
tree0eaec5c81ee4d5e72adab9e1bb89edf7ea019632 /scripts/generate_rust_analyzer.py
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 <[email protected]> Cc: Willem de Bruijn <[email protected]> Reviewed-by: Willem de Bruijn <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions