]> git.baikalelectronics.ru Git - kernel.git/commit
rxrpc: Only take the rwind and mtu values from latest ACK
authorDavid Howells <dhowells@redhat.com>
Mon, 8 Oct 2018 14:46:11 +0000 (15:46 +0100)
committerDavid Howells <dhowells@redhat.com>
Mon, 8 Oct 2018 21:42:04 +0000 (22:42 +0100)
commita38d92edf489ee2d81b8972665a4405d4bf2267a
tree4c40d298df2ee83702d152bf8b163c60769c3e99
parente868ec3b6d3077ef4adda2c3dba08c3e6f17f860
rxrpc: Only take the rwind and mtu values from latest ACK

Move the out-of-order and duplicate ACK packet check to before the call to
rxrpc_input_ackinfo() so that the receive window size and MTU size are only
checked in the latest ACK packet and don't regress.

Fixes: 8ca8ea452fc6 ("rxrpc: Rewrite the data and ack handling code")
Signed-off-by: David Howells <dhowells@redhat.com>
net/rxrpc/input.c