On Wed, 9 Oct 2019 15:41:03 -0700, Eric Dumazet wrote:
> sk->sk_backlog.len can be written by BH handlers, and read
> from process contexts in a lockless way.
>
> Note the write side should also use WRITE_ONCE() or a variant.
> We need some agreement about the best way to do this.
>
> syzbot rep
sk->sk_backlog.len can be written by BH handlers, and read
from process contexts in a lockless way.
Note the write side should also use WRITE_ONCE() or a variant.
We need some agreement about the best way to do this.
syzbot reported :
BUG: KCSAN: data-race in tcp_add_backlog / tcp_grow_window.is