From owner-cvs-all@FreeBSD.ORG Tue Apr 25 11:17:37 2006 Return-Path: X-Original-To: cvs-all@FreeBSD.org Delivered-To: cvs-all@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1EAFE16A400; Tue, 25 Apr 2006 11:17:37 +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 E322643D48; Tue, 25 Apr 2006 11:17:36 +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 k3PBHaTu026430; Tue, 25 Apr 2006 11:17:36 GMT (envelope-from rwatson@repoman.freebsd.org) Received: (from rwatson@localhost) by repoman.freebsd.org (8.13.1/8.13.1/Submit) id k3PBHatC026429; Tue, 25 Apr 2006 11:17:36 GMT (envelope-from rwatson) Message-Id: <200604251117.k3PBHatC026429@repoman.freebsd.org> From: Robert Watson Date: Tue, 25 Apr 2006 11:17:36 +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 in_pcb.c in_pcb.h tcp_subr.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: Tue, 25 Apr 2006 11:17:37 -0000 rwatson 2006-04-25 11:17:36 UTC FreeBSD src repository Modified files: sys/netinet in_pcb.c in_pcb.h tcp_subr.c Log: Abstract inpcb drop logic, previously just setting of INP_DROPPED in TCP, into in_pcbdrop(). Expand logic to detach the inpcb from its bound address/port so that dropping a TCP connection releases the inpcb resource reservation, which since the introduction of socket/pcb reference count updates, has been persisting until the socket closed rather than being released implicitly due to prior freeing of the inpcb on TCP drop. MFC after: 3 months Revision Changes Path 1.175 +28 -0 src/sys/netinet/in_pcb.c 1.88 +1 -0 src/sys/netinet/in_pcb.h 1.250 +2 -3 src/sys/netinet/tcp_subr.c