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

git: DragonFly_RELEASE_3_4 syncache: Avoid NULL accessing to tcpcb of the to-be-dropped syncache


From: Sepherosa Ziehau <sephe@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Mon, 20 May 2013 06:58:04 -0700 (PDT)

commit b0c171545f8a936818d54914d04217516577a09a
Author: Sepherosa Ziehau <sephe@dragonflybsd.org>
Date:   Mon May 20 21:44:32 2013 +0800

    syncache: Avoid NULL accessing to tcpcb of the to-be-dropped syncache
    
    It is possible that the syncache tcpcb is NULL when overflow happens,
    e.g. the corresponding listen socket was closed but the timeout has
    not recollected the staled syncache yet.

Summary of changes:
 sys/netinet/tcp_syncache.c | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

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


-- 
DragonFly BSD source repository



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