Skip to content
Commit 3f233809 authored by David S. Miller's avatar David S. Miller
Browse files

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: default avatarDavid S. Miller <davem@davemloft.net>
parents 8caf8a91 ab4e846a
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment