rxrpc: Reduce the number of PING ACKs sent
authorDavid Howells <dhowells@redhat.com>
Wed, 21 Sep 2016 23:29:32 +0000 (00:29 +0100)
committerDavid Howells <dhowells@redhat.com>
Thu, 22 Sep 2016 07:49:22 +0000 (08:49 +0100)
commitfc943f67773487bb85131273f39b5f183caafe95
tree57f7622b67a8a4d64d9e82eb17229b3b122babcb
parent0d4b103c008ac9f6f438d2618c155f6e868e5a67
rxrpc: Reduce the number of PING ACKs sent

We don't want to send a PING ACK for every new incoming call as that just
adds to the network traffic.  Instead, we send a PING ACK to the first
three that we receive and then once per second thereafter.

This could probably be made adjustable in future.

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