rxrpc: Don't transmit an ACK if there's no reason set
authorDavid Howells <dhowells@redhat.com>
Sat, 17 Sep 2016 09:49:13 +0000 (10:49 +0100)
committerDavid Howells <dhowells@redhat.com>
Sat, 17 Sep 2016 09:53:55 +0000 (10:53 +0100)
commit27d0fc431c6b4847231c1490fa541bc3f5a7a351
tree48e5fca210eb0692a657d3b336565fb0efb11812
parentdfa7d9204054b091949d87270e55e0fd5800c3ae
rxrpc: Don't transmit an ACK if there's no reason set

Don't transmit an ACK if call->ackr_reason in unset.  There's the
possibility of a race between recvmsg() sending an ACK and the background
processing thread trying to send the same one.

Signed-off-by: David Howells <dhowells@redhat.com>
net/rxrpc/output.c