Thread (3 messages) 3 messages, 3 authors, 2024-02-04

Re: [PATCH net] inet: read sk->sk_family once in inet_recv_error()

From: patchwork-bot+netdevbpf@kernel.org
Date: 2024-02-04 16:10:26

Hello:

This patch was applied to netdev/net.git (main)
by David S. Miller [off-list ref]:

On Fri,  2 Feb 2024 09:54:04 +0000 you wrote:
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>

[...]
Here is the summary with links:
  - [net] inet: read sk->sk_family once in inet_recv_error()
    https://git.kernel.org/netdev/net/c/eef00a82c568

You are awesome, thank you!
-- 
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help