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

git: tcp/sack: If other side reneged, discard the current SACK scoreboard


From: Sepherosa Ziehau <sephe@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Tue, 29 May 2012 18:52:00 -0700 (PDT)

commit 9ba0ed2f0a35e061e17843329b9a1e64e8a47181
Author: Sepherosa Ziehau <sephe@dragonflybsd.org>
Date:   Wed May 30 09:43:50 2012 +0800

    tcp/sack: If other side reneged, discard the current SACK scoreboard
    
    Other side reneging is detected using the first SACK record:
    If its left edge is less than or equal to the cumulative ACK of the
    incoming segment, other side probably reneged.
    
    This fixes the later assertion that the first SACK record's left edge
    must be above snd_una in tcp_sack_first_unsacked_len()
    
    Add statistics about other side reneging

Summary of changes:
 sys/netinet/tcp_sack.c |    7 +++++--
 sys/netinet/tcp_var.h  |    3 ++-
 usr.bin/netstat/inet.c |    1 +
 3 files changed, 8 insertions(+), 3 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/9ba0ed2f0a35e061e17843329b9a1e64e8a47181


-- 
DragonFly BSD source repository



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