Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1594820

Re: [PATCH net] rxrpc: Call state should be read with READ_ONCE() under some circumstances

From David Miller <davem@davemloft.net>
Newsgroups linux.kernel
Subject Re: [PATCH net] rxrpc: Call state should be read with READ_ONCE() under some circumstances
Date 2017-03-08 04:30 +0100
Message-ID <tiAsx-xQ-5@gated-at.bofh.it> (permalink)
References <th5qN-nH-1@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


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.

Back to linux.kernel | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

[PATCH net] rxrpc: Call state should be read with READ_ONCE() under  some circumstances David Howells <dhowells@redhat.com> - 2017-03-04 01:10 +0100
  Re: [PATCH net] rxrpc: Call state should be read with READ_ONCE()  under some circumstances David Miller <davem@davemloft.net> - 2017-03-08 04:30 +0100

csiph-web