From owner-cvs-src-old@FreeBSD.ORG Tue Jun 30 15:23:30 2009 Return-Path: Delivered-To: cvs-src-old@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D968B1065743 for ; Tue, 30 Jun 2009 15:23:30 +0000 (UTC) (envelope-from attilio@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id C70E68FC14 for ; Tue, 30 Jun 2009 15:23:30 +0000 (UTC) (envelope-from attilio@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.3/8.14.3) with ESMTP id n5UFNUYR027218 for ; Tue, 30 Jun 2009 15:23:30 GMT (envelope-from attilio@repoman.freebsd.org) Received: (from svn2cvs@localhost) by repoman.freebsd.org (8.14.3/8.14.3/Submit) id n5UFNUdQ027217 for cvs-src-old@freebsd.org; Tue, 30 Jun 2009 15:23:30 GMT (envelope-from attilio@repoman.freebsd.org) Message-Id: <200906301523.n5UFNUdQ027217@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: svn2cvs set sender to attilio@repoman.freebsd.org using -f From: Attilio Rao Date: Tue, 30 Jun 2009 15:23:16 +0000 (UTC) To: cvs-src-old@freebsd.org X-FreeBSD-CVS-Branch: RELENG_6 Subject: cvs commit: src/sys/netinet tcp_syncache.c X-BeenThere: cvs-src-old@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: **OBSOLETE** CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 30 Jun 2009 15:23:31 -0000 attilio 2009-06-30 15:23:16 UTC FreeBSD src repository Modified files: (Branch: RELENG_6) sys/netinet tcp_syncache.c Log: SVN rev 195196 on 2009-06-30 15:23:16Z by attilio If the table is empty we can end up with a NULL pointer. Handle that case trying to free and re-allocate a new object for the timerqueue, managing unallocations. This is not an issue on 7 and further branches. Submitted by: emaste Sponsored by: Sandvine Incorporated Reported by: Kyle Larose Revision Changes Path 1.74.2.7 +7 -5 src/sys/netinet/tcp_syncache.c