From owner-cvs-src-old@FreeBSD.ORG Tue Feb 24 11:18:01 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 53308106566C for ; Tue, 24 Feb 2009 11:18:01 +0000 (UTC) (envelope-from rwatson@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 4039B8FC0C for ; Tue, 24 Feb 2009 11:18:01 +0000 (UTC) (envelope-from rwatson@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 n1OBI1uc047504 for ; Tue, 24 Feb 2009 11:18:01 GMT (envelope-from rwatson@repoman.freebsd.org) Received: (from svn2cvs@localhost) by repoman.freebsd.org (8.14.3/8.14.3/Submit) id n1OBI157047503 for cvs-src-old@freebsd.org; Tue, 24 Feb 2009 11:18:01 GMT (envelope-from rwatson@repoman.freebsd.org) Message-Id: <200902241118.n1OBI157047503@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: svn2cvs set sender to rwatson@repoman.freebsd.org using -f From: Robert Watson Date: Tue, 24 Feb 2009 11:17:50 +0000 (UTC) To: cvs-src-old@freebsd.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/sys/netinet tcp_usrreq.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, 24 Feb 2009 11:18:01 -0000 rwatson 2009-02-24 11:17:50 UTC FreeBSD src repository Modified files: sys/netinet tcp_usrreq.c Log: SVN rev 188992 on 2009-02-24 11:17:50Z by rwatson In tcp_usr_shutdown() and tcp_usr_send(), I missed converting NULL checks for the tcpcb, previously used to detect complete disconnection, with INP_DROPPED checks. Correct that, preventing shutdown() from improperly generating a TCP segment with destination IP and port of 0.0.0.0:0. PR: kern/132050 Reported by: david gueluy MFC after: 3 weeks Revision Changes Path 1.182 +3 -2 src/sys/netinet/tcp_usrreq.c