From: David Miller <davem@davemloft.net>
To: dhowells@redhat.com
Cc: netdev@vger.kernel.org, linux-afs@lists.infradead.org,
linux-kernel@vger.kernel.org
Subject: Re: [PATCH net] rxrpc: Call state should be read with READ_ONCE() under some circumstances
Date: Tue, 07 Mar 2017 13:59:28 -0800 (PST) [thread overview]
Message-ID: <20170307.135928.594434139062899205.davem@davemloft.net> (raw)
In-Reply-To: <148858570121.7759.13967054786116725339.stgit@warthog.procyon.org.uk>
From: David Howells <dhowells@redhat.com>
Date: Sat, 04 Mar 2017 00:01:41 +0000
> The call state may be changed at any time by the data-ready routine in
> response to received packets, so if the call state is to be read and acted
> upon several times in a function, READ_ONCE() must be used unless the call
> state lock is held.
>
> Signed-off-by: David Howells <dhowells@redhat.com>
Applied.
next prev parent reply other threads:[~2017-03-08 3:24 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-03-04 0:01 [PATCH net] rxrpc: Call state should be read with READ_ONCE() under some circumstances David Howells
2017-03-07 21:59 ` David Miller [this message]
2021-01-12 15:59 David Howells
2021-01-13 2:25 ` Jakub Kicinski
2021-01-13 8:23 ` David Howells
2021-01-13 18:41 ` Jakub Kicinski
Reply instructions:
You may reply publicly 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:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20170307.135928.594434139062899205.davem@davemloft.net \
--to=davem@davemloft.net \
--cc=dhowells@redhat.com \
--cc=linux-afs@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=netdev@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.