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

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


From: Sepherosa Ziehau <sephe@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Sat, 15 Jan 2011 04:10:52 -0800 (PST)

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



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