[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20191106.213556.714656150086041700.davem@davemloft.net>
Date: Wed, 06 Nov 2019 21:35:56 -0800 (PST)
From: David Miller <davem@...emloft.net>
To: edumazet@...gle.com
Cc: netdev@...r.kernel.org, eric.dumazet@...il.com
Subject: Re: [PATCH net-next] net: silence data-races on sk_backlog.tail
From: Eric Dumazet <edumazet@...gle.com>
Date: Wed, 6 Nov 2019 10:04:11 -0800
> sk->sk_backlog.tail might be read without holding the socket spinlock,
> we need to add proper READ_ONCE()/WRITE_ONCE() to silence the warnings.
>
> KCSAN reported :
>
> BUG: KCSAN: data-race in tcp_add_backlog / tcp_recvmsg
...
> Signed-off-by: Eric Dumazet <edumazet@...gle.com>
Applied, thanks Eric.
Powered by blists - more mailing lists