From owner-freebsd-bugs@FreeBSD.ORG Mon Oct 3 17:30:19 2005 Return-Path: X-Original-To: freebsd-bugs@hub.freebsd.org Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id CB2F516A41F for ; Mon, 3 Oct 2005 17:30:19 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 936E143D45 for ; Mon, 3 Oct 2005 17:30:19 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.3/8.13.3) with ESMTP id j93HUJTh024970 for ; Mon, 3 Oct 2005 17:30:19 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.3/8.13.1/Submit) id j93HUJnO024968; Mon, 3 Oct 2005 17:30:19 GMT (envelope-from gnats) Date: Mon, 3 Oct 2005 17:30:19 GMT Message-Id: <200510031730.j93HUJnO024968@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org From: =?ISO-8859-1?Q?Vladim=EDr_Kotal?= Cc: Subject: Re: kern/86871: allocation logic for PCBs in TIME_WAIT state causes packet drops on stateful FWs X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: =?ISO-8859-1?Q?Vladim=EDr_Kotal?= List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 03 Oct 2005 17:30:19 -0000 The following reply was made to PR kern/86871; it has been noted by GNATS. From: =?ISO-8859-1?Q?Vladim=EDr_Kotal?= To: bug-followup@FreeBSD.org, =?ISO-8859-1?Q?Vladim=EDr_Kotal?= Cc: Subject: Re: kern/86871: allocation logic for PCBs in TIME_WAIT state causes packet drops on stateful FWs Date: Mon, 3 Oct 2005 19:27:22 +0200 more possible solutions: - bind allocation of TIME_WAIT sockets to sequential/random allocation switch (when doing the transition to sequential port allocation, also make possible allocation of sockets in TIME_WAIT state) - do not (re)allocate sockets in TIME_WAIT state by default. if number of free ports reaches certain watermark, turn on allocation of sockets in TIME_WAIT state.