git: tcp/sack: Take FIN bit into consideration when setup report SACK block end

Sepherosa Ziehau sephe at crater.dragonflybsd.org
Tue Apr 10 18:44:36 PDT 2012


commit 3a5d999bd2fedb7e7e52153a00e267a20bd9e57a
Author: Sepherosa Ziehau <sephe at dragonflybsd.org>
Date:   Wed Mar 28 16:17:32 2012 +0800

    tcp/sack: Take FIN bit into consideration when setup report SACK block end
    
    The invalid SACK option observed on the heavily segment reordering network
    path (50% segments out of order) contains only one SACK block which tries
    to cover the FIN segment but sets the right edge incorrectly, i.e. the right
    edge is same as the left edge; mainly because the FIN bit is not counted.

Summary of changes:
 sys/netinet/tcp_input.c |   28 +++++++++++++++-------------
 sys/netinet/tcp_sack.c  |    4 +++-
 sys/netinet/tcp_var.h   |    2 ++
 3 files changed, 20 insertions(+), 14 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/3a5d999bd2fedb7e7e52153a00e267a20bd9e57a


-- 
DragonFly BSD source repository





More information about the Commits mailing list