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

看板DFBSD_commit作者時間15年前 (2011/01/15 20:32), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串1/1
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
文章代碼(AID): #1DCPFAde (DFBSD_commit)