From owner-cvs-all@FreeBSD.ORG Thu May 31 12:06:03 2007 Return-Path: X-Original-To: cvs-all@FreeBSD.org Delivered-To: cvs-all@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 2C1B116A41F; Thu, 31 May 2007 12:06:03 +0000 (UTC) (envelope-from rwatson@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [69.147.83.41]) by mx1.freebsd.org (Postfix) with ESMTP id 0733B13C448; Thu, 31 May 2007 12:06:03 +0000 (UTC) (envelope-from rwatson@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.8/8.13.8) with ESMTP id l4VC62gU083185; Thu, 31 May 2007 12:06:02 GMT (envelope-from rwatson@repoman.freebsd.org) Received: (from rwatson@localhost) by repoman.freebsd.org (8.13.8/8.13.8/Submit) id l4VC62xk083180; Thu, 31 May 2007 12:06:02 GMT (envelope-from rwatson) Message-Id: <200705311206.l4VC62xk083180@repoman.freebsd.org> From: Robert Watson Date: Thu, 31 May 2007 12:06:02 +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_usrreq.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: Thu, 31 May 2007 12:06:03 -0000 rwatson 2007-05-31 12:06:02 UTC FreeBSD src repository Modified files: sys/netinet tcp_usrreq.c Log: (1) In tcp_usrclosed(), tp can never become NULL, so don't test for NULL before handling the socket disconnection case. (2) Clean up surrounding comments and formatting. Found with: Coverity Prevent(tm) (1) CID: 2203 Revision Changes Path 1.157 +3 -4 src/sys/netinet/tcp_usrreq.c