]> git.baikalelectronics.ru Git - kernel.git/commit
rxrpc: Fix overlapping ACK accounting
authorDavid Howells <dhowells@redhat.com>
Sat, 21 May 2022 08:03:18 +0000 (09:03 +0100)
committerDavid S. Miller <davem@davemloft.net>
Sun, 22 May 2022 20:30:53 +0000 (21:30 +0100)
commit73740346b89cff0ebf7a5db76b24400e5a5770bc
tree068dcbf8310699a8a6f798cbae7744f06862ab6f
parent5ae55a6a40ab6cdd2d3dd60af4c6cd0f53ef83fa
rxrpc: Fix overlapping ACK accounting

Fix accidental overlapping of Rx-phase ACK accounting with Tx-phase ACK
accounting through variables shared between the two.  call->acks_* members
refer to ACKs received in the Tx phase and call->ackr_* members to ACKs
sent/to be sent during the Rx phase.

Fixes: aaed86de184f ("rxrpc: Fix detection of out of order acks")
Signed-off-by: David Howells <dhowells@redhat.com>
cc: Jeffrey Altman <jaltman@auristor.com>
cc: Marc Dionne <marc.dionne@auristor.com>
cc: linux-afs@lists.infradead.org
Signed-off-by: David S. Miller <davem@davemloft.net>
net/rxrpc/ar-internal.h
net/rxrpc/input.c