git: tcp: Properly detect duplicated FIN

Sepherosa Ziehau sephe at crater.dragonflybsd.org
Wed Jun 13 18:50:21 PDT 2012


commit 942d88efd1757af9999920a3ad35a0a877084748
Author: Sepherosa Ziehau <sephe at dragonflybsd.org>
Date:   Tue Jun 5 13:27:41 2012 +0800

    tcp: Properly detect duplicated FIN
    
    According to RFC5681, ACKs w/ FIN should not be taken as duplicated
    ACKs.  We refine it a little bit that ACKs w/ FIN will be taken as
    duplicated ACKs, only if FIN has been seen.

Summary of changes:
 sys/netinet/tcp_input.c |   41 ++++++++++++++++++++++++++++++++++++-----
 sys/netinet/tcp_subr.c  |    2 ++
 sys/netinet/tcp_var.h   |    4 ++--
 3 files changed, 40 insertions(+), 7 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/942d88efd1757af9999920a3ad35a0a877084748


-- 
DragonFly BSD source repository





More information about the Commits mailing list