diff options
author | David Howells <dhowells@redhat.com> | 2017-04-06 11:12:00 +0200 |
---|---|---|
committer | David Howells <dhowells@redhat.com> | 2017-04-06 12:10:41 +0200 |
commit | 740586d290cb43d941c10274f2b65976bd94dacd (patch) | |
tree | d920549935e9840b4da7fed2cb6e0ba94d82a58d /net | |
parent | rxrpc: Trace received aborts (diff) | |
download | linux-740586d290cb43d941c10274f2b65976bd94dacd.tar.xz linux-740586d290cb43d941c10274f2b65976bd94dacd.zip |
rxrpc: Trace changes in a call's receive window size
Add a tracepoint (rxrpc_rx_rwind_change) to log changes in a call's receive
window size as imposed by the peer through an ACK packet.
Signed-off-by: David Howells <dhowells@redhat.com>
Diffstat (limited to 'net')
-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 241e989597f2..45dba732a3b4 100644 --- a/net/rxrpc/input.c +++ b/net/rxrpc/input.c @@ -665,6 +665,8 @@ static void rxrpc_input_ackinfo(struct rxrpc_call *call, struct sk_buff *skb, rwind = RXRPC_RXTX_BUFF_SIZE - 1; if (rwind > call->tx_winsize) wake = true; + trace_rxrpc_rx_rwind_change(call, sp->hdr.serial, + ntohl(ackinfo->rwind), wake); call->tx_winsize = rwind; } |