[PATCH] af_rxrpc accept race (was: RxRPC: 3 issues found in my example code)
dhowells at redhat.com
Mon May 12 06:10:12 PDT 2014
Tim Smith <tim at electronghost.co.uk> wrote:
> rxrpc_setup_incoming_call() cannot be called with an rxrpc_sock in state
> RXRPC_CLOSE, so the check and exit path can be removed.
Why not? Can't there be a race between rxrpc_release_sock() and
rxrpc_setup_incoming_call()? That is, cannot the application be closing the
socket at the same time as a new call is coming in?
More information about the linux-afs