rxrpc: Reduce ssthresh to peer's receive window
authorDavid Howells <dhowells@redhat.com>
Fri, 30 Sep 2016 08:33:27 +0000 (09:33 +0100)
committerDavid Howells <dhowells@redhat.com>
Fri, 30 Sep 2016 13:38:59 +0000 (14:38 +0100)
commit0851115090a3eb9585d6a804a61e47f3d89ac2a8
tree53f95140d40b06d99a71f08f30ecbe2e713513f6
parent8782def204e57f6a507ff425e4944df4e010751a
rxrpc: Reduce ssthresh to peer's receive window

When we receive an ACK from the peer that tells us what the peer's receive
window (rwind) is, we should reduce ssthresh to rwind if rwind is smaller
than ssthresh.

Signed-off-by: David Howells <dhowells@redhat.com>
net/rxrpc/input.c