From owner-cvs-all@FreeBSD.ORG Mon Sep 24 14:46:28 2007 Return-Path: Delivered-To: cvs-all@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5C5D416A418; Mon, 24 Sep 2007 14:46:28 +0000 (UTC) (envelope-from kib@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 43CB613C458; Mon, 24 Sep 2007 14:46:28 +0000 (UTC) (envelope-from kib@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.1/8.14.1) with ESMTP id l8OEkScn069067; Mon, 24 Sep 2007 14:46:28 GMT (envelope-from kib@repoman.freebsd.org) Received: (from kib@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id l8OEkSHK069066; Mon, 24 Sep 2007 14:46:28 GMT (envelope-from kib) Message-Id: <200709241446.l8OEkSHK069066@repoman.freebsd.org> From: Konstantin Belousov Date: Mon, 24 Sep 2007 14:46:28 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: src/sys/netinet tcp_timer.c X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 24 Sep 2007 14:46:28 -0000 kib 2007-09-24 14:46:27 UTC FreeBSD src repository Modified files: sys/netinet tcp_timer.c Log: Revert rev. 1.94. After recent tcp backouts, tcp_close() may return NULL. Check the return value of tcp_close() being NULL before dereferencing it in #ifdef TCPDEBUG block. Reviewed by: rwatson Approved by: re (gnn) Revision Changes Path 1.98 +1 -1 src/sys/netinet/tcp_timer.c