]> git.baikalelectronics.ru Git - kernel.git/commit
Merge branch 'tcp-address-KCSAN-reports-in-tcp_poll-part-I'
authorDavid S. Miller <davem@davemloft.net>
Sun, 13 Oct 2019 17:13:08 +0000 (10:13 -0700)
committerDavid S. Miller <davem@davemloft.net>
Sun, 13 Oct 2019 17:13:08 +0000 (10:13 -0700)
commit620d110501c631739b9406798c3e3d0d7b6b1b85
tree7be26ef02ab2f2979be9a3cdeb36ed1bafc51354
parent4e356bb40a5cc11500da3ea3b2ca8b1ffb67f11c
parent28a379ef3ca45d4a7ec13837569ebd0cc934d2d4
Merge branch 'tcp-address-KCSAN-reports-in-tcp_poll-part-I'

Eric Dumazet says:

====================
tcp: address KCSAN reports in tcp_poll() (part I)

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 doing this detective work, I found a more serious bug,
addressed by the first patch ("tcp: add rcu protection around
tp->fastopen_rsk").
====================

Signed-off-by: David S. Miller <davem@davemloft.net>