git: tcp: Move useless DSACK detection before increasing dupacks
Sepherosa Ziehau
sephe at crater.dragonflybsd.org
Thu May 3 22:32:33 PDT 2012
commit 12e60b577798d096f760a0fd090e21d6c90dad5d
Author: Sepherosa Ziehau <sephe at dragonflybsd.org>
Date: Fri May 4 12:07:14 2012 +0800
tcp: Move useless DSACK detection before increasing dupacks
- Avoid the spurious retransmit in the following dump:
http://leaf.dragonflybsd.org/~sephe/fast1.xpl (~9.755sec)
- Loosely meet the requirement of RFC3042: no new segments should be
sent upon ACKs carrying useless SACK information
- Add sysctl net.inet.tcp.ignore_redun_dsack to disable useless
DSACK detection; default on
Summary of changes:
sys/netinet/tcp_input.c | 46 +++++++++++++++++++++++++---------------------
1 files changed, 25 insertions(+), 21 deletions(-)
http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/12e60b577798d096f760a0fd090e21d6c90dad5d
--
DragonFly BSD source repository
More information about the Commits
mailing list