]> git.baikalelectronics.ru Git - kernel.git/commit
rxrpc: Switch to Congestion Avoidance mode at cwnd==ssthresh
authorDavid Howells <dhowells@redhat.com>
Fri, 30 Sep 2016 08:26:12 +0000 (09:26 +0100)
committerDavid Howells <dhowells@redhat.com>
Fri, 30 Sep 2016 13:38:56 +0000 (14:38 +0100)
commit37d52bc49cf12e0c2ce9b48012920c0d7ba8e334
treedbd79030746db67acb2754892e4a5130dc630702
parentc86c25547ec2beed0d3efa7d6ef4a0e1787f98f3
rxrpc: Switch to Congestion Avoidance mode at cwnd==ssthresh

Switch to Congestion Avoidance mode at cwnd == ssthresh rather than relying
on cwnd getting incremented beyond ssthresh and the window size, the mode
being shifted and then cwnd being corrected.

We need to make sure we switch into CA mode so that we stop marking every
packet for ACK.

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