]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commiteef4451ff94ee6e7104016ae78cc1c072c7ad869
tree48e5fca210eb0692a657d3b336565fb0efb11812
parentb41421c8aba3a921fc23217acaaedafe848b844b
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