]> git.baikalelectronics.ru Git - kernel.git/commit
rxrpc: Don't request an ACK on the last DATA packet of a call's Tx phase
authorDavid Howells <dhowells@redhat.com>
Thu, 6 Oct 2016 07:11:51 +0000 (08:11 +0100)
committerDavid Howells <dhowells@redhat.com>
Thu, 6 Oct 2016 07:11:51 +0000 (08:11 +0100)
commit3b9a4109109951b86cb2018542d4f4bbd4e61b94
tree9c7be57c2388c5b5ddd5c829d4ac0d98ebc9cbe1
parentb62ab693eb4469bf56a719494caf7caa4964cacb
rxrpc: Don't request an ACK on the last DATA packet of a call's Tx phase

Don't request an ACK on the last DATA packet of a call's Tx phase as for a
client there will be a reply packet or some sort of ACK to shift phase.  If
the ACK is requested, OpenAFS sends a REQUESTED-ACK ACK with soft-ACKs in
it and doesn't follow up with a hard-ACK.

If we don't set the flag, OpenAFS will send a DELAY ACK that hard-ACKs the
reply data, thereby allowing the call to terminate cleanly.

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