diff options
author | David Howells <dhowells@redhat.com> | 2016-09-17 10:49:13 +0100 |
---|---|---|
committer | David Howells <dhowells@redhat.com> | 2016-09-17 11:24:03 +0100 |
commit | ec71eb9ada34f8d1a58b7c35d906c59411295445 (patch) | |
tree | e8eba61aa60043b2f96719a4505661cdf5c18fb0 /net/rxrpc/input.c | |
parent | a124fe3ee5d82f2c9a9b8818ed5cb9f61685f1d3 (diff) | |
download | op-kernel-dev-ec71eb9ada34f8d1a58b7c35d906c59411295445.zip op-kernel-dev-ec71eb9ada34f8d1a58b7c35d906c59411295445.tar.gz |
rxrpc: Add a tracepoint to log received ACK packets
Add a tracepoint to log information from received ACK packets.
Signed-off-by: David Howells <dhowells@redhat.com>
Diffstat (limited to 'net/rxrpc/input.c')
-rw-r--r-- | net/rxrpc/input.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/net/rxrpc/input.c b/net/rxrpc/input.c index c7eb510..7b18ca1 100644 --- a/net/rxrpc/input.c +++ b/net/rxrpc/input.c @@ -440,6 +440,8 @@ static void rxrpc_input_ack(struct rxrpc_call *call, struct sk_buff *skb, hard_ack = first_soft_ack - 1; nr_acks = buf.ack.nAcks; + trace_rxrpc_rx_ack(call, first_soft_ack, buf.ack.reason, nr_acks); + _proto("Rx ACK %%%u { m=%hu f=#%u p=#%u s=%%%u r=%s n=%u }", sp->hdr.serial, ntohs(buf.ack.maxSkew), |