Re: [PATCH net 0/9] tcp: address KCSAN reports in tcp_poll() (part I)

2019-10-13 Thread David Miller
From: Eric Dumazet Date: Thu, 10 Oct 2019 20:17:37 -0700 > This all started with a KCSAN report (included > in "tcp: annotate tp->rcv_nxt lockless reads" changelog) > > tcp_poll() runs in a lockless way. This means that about > all accesses of tcp socket fields done in tcp_poll() context > need

[PATCH net 0/9] tcp: address KCSAN reports in tcp_poll() (part I)

2019-10-10 Thread Eric Dumazet
This all started with a KCSAN report (included in "tcp: annotate tp->rcv_nxt lockless reads" changelog) tcp_poll() runs in a lockless way. This means that about all accesses of tcp socket fields done in tcp_poll() context need annotations otherwise KCSAN will complain about data-races. While doin