git: tcp: Don't panic if persist timer is started in CLOSED and TERMINATING

Sepherosa Ziehau sephe at crater.dragonflybsd.org
Sat Jan 15 04:12:36 PST 2011


commit c529614ee0060246d8d1464c8f7dbea0e9f8c46b
Author: Sepherosa Ziehau <sephe at dragonflybsd.org>
Date:   Sat Jan 15 20:02:34 2011 +0800

    tcp: Don't panic if persist timer is started in CLOSED and TERMINATING
    
    Persistent timer could go wrong only when SYN is to be turned on in
    tcp_output(), however, CLOSED and TERMINATING states' flags does not
    contain SYN at all.  And starting persistent timer in CLOSED state is
    absolutely valid, e.g. from tcp_drop()
    
    Reported-by: dillon@

Summary of changes:
 sys/netinet/tcp_output.c |    8 ++++++--
 1 files changed, 6 insertions(+), 2 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/c529614ee0060246d8d1464c8f7dbea0e9f8c46b


-- 
DragonFly BSD source repository





More information about the Commits mailing list