From owner-cvs-src@FreeBSD.ORG Sat Apr 1 23:53:27 2006 Return-Path: X-Original-To: cvs-src@FreeBSD.org Delivered-To: cvs-src@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0AD6B16A401; Sat, 1 Apr 2006 23:53:27 +0000 (UTC) (envelope-from rwatson@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id B7A5C43D46; Sat, 1 Apr 2006 23:53:26 +0000 (GMT) (envelope-from rwatson@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.1/8.13.1) with ESMTP id k31NrQ7H072633; Sat, 1 Apr 2006 23:53:26 GMT (envelope-from rwatson@repoman.freebsd.org) Received: (from rwatson@localhost) by repoman.freebsd.org (8.13.1/8.13.1/Submit) id k31NrQYp072632; Sat, 1 Apr 2006 23:53:26 GMT (envelope-from rwatson) Message-Id: <200604012353.k31NrQYp072632@repoman.freebsd.org> From: Robert Watson Date: Sat, 1 Apr 2006 23:53:25 +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_subr.c tcp_usrreq.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 01 Apr 2006 23:53:27 -0000 rwatson 2006-04-01 23:53:25 UTC FreeBSD src repository Modified files: sys/netinet tcp_subr.c tcp_usrreq.c Log: Properly handle an edge case previously not handled correctly: a socket can have a tcp connection that has entered time wait attached to it, in the event that shutdown() is called on the socket and the FINs properly exchange before close(). In this case we don't detach or free the inpcb, just leave the tcptw detached and freed, but we must release the inpcb lock (which we didn't previously). MFC after: 3 months Revision Changes Path 1.239 +37 -20 src/sys/netinet/tcp_subr.c 1.132 +5 -2 src/sys/netinet/tcp_usrreq.c