DragonFly BSD
DragonFly commits List (threaded) for 2012-04
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

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


From: Sepherosa Ziehau <sephe@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Tue, 10 Apr 2012 18:44:36 -0700 (PDT)

commit 3a5d999bd2fedb7e7e52153a00e267a20bd9e57a
Author: Sepherosa Ziehau <sephe@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



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]