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>
This commit is contained in:
@@ -142,7 +142,7 @@ static void rxrpc_resend(struct rxrpc_call *call)
|
||||
struct rxrpc_skb_priv *sp;
|
||||
struct sk_buff *skb;
|
||||
rxrpc_seq_t cursor, seq, top;
|
||||
ktime_t now = ktime_get_real(), max_age, oldest, resend_at;
|
||||
ktime_t now = ktime_get_real(), max_age, oldest, resend_at;
|
||||
int ix;
|
||||
u8 annotation, anno_type;
|
||||
|
||||
|
Reference in New Issue
Block a user