Netdev Archive on
 help / color / Atom feed
From: Jakub Kicinski <>
To: Eric Dumazet <>
Cc: "David S . Miller" <>,
	netdev <>,
	Eric Dumazet <>
Subject: Re: [PATCH net] net: annotate sk->sk_rcvlowat lockless reads
Date: Wed, 9 Oct 2019 21:51:39 -0700
Message-ID: <> (raw)
In-Reply-To: <>

On Wed,  9 Oct 2019 15:32:35 -0700, Eric Dumazet wrote:
> sock_rcvlowat() or int_sk_rcvlowat() might be called without the socket
> lock for example from tcp_poll().
> Use READ_ONCE() to document the fact that other cpus might change
> sk->sk_rcvlowat under us and avoid KCSAN splats.
> Use WRITE_ONCE() on write sides too.
> Signed-off-by: Eric Dumazet <>

Applied, thanks!

      reply index

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-10-09 22:32 Eric Dumazet
2019-10-10  4:51 ` Jakub Kicinski [this message]

Reply instructions:

You may reply publically to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \ \ \ \ \ \ \

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

Netdev Archive on

Archives are clonable:
	git clone --mirror netdev/git/0.git
	git clone --mirror netdev/git/1.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 netdev netdev/ \
	public-inbox-index netdev

Example config snippet for mirrors

Newsgroup available over NNTP:

AGPL code for this site: git clone