mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 11:11:45 -04:00
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 <[email protected]>
This commit is contained in:
parent
005ede286f
commit
740586d290
2 changed files with 29 additions and 0 deletions
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue