From owner-cvs-src@FreeBSD.ORG Sun Oct 2 08:43:58 2005 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 7F3E816A41F; Sun, 2 Oct 2005 08:43:58 +0000 (GMT) (envelope-from maxim@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3BB2043D46; Sun, 2 Oct 2005 08:43:58 +0000 (GMT) (envelope-from maxim@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 j928hwjD039848; Sun, 2 Oct 2005 08:43:58 GMT (envelope-from maxim@repoman.freebsd.org) Received: (from maxim@localhost) by repoman.freebsd.org (8.13.1/8.13.1/Submit) id j928hv0L039847; Sun, 2 Oct 2005 08:43:58 GMT (envelope-from maxim) Message-Id: <200510020843.j928hv0L039847@repoman.freebsd.org> From: Maxim Konovalov Date: Sun, 2 Oct 2005 08:43:57 +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 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: Sun, 02 Oct 2005 08:43:58 -0000 maxim 2005-10-02 08:43:57 UTC FreeBSD src repository Modified files: sys/netinet tcp_subr.c Log: o Teach sysctl_drop() how to deal with the sockets in TIME_WAIT state. This is a special case because tcp_twstart() destroys a tcp control block via tcp_discardcb() so we cannot call tcp_drop(struct *tcpcb) on such connections. Use tcp_twclose() instead. MFC after: 5 days Revision Changes Path 1.234 +5 -1 src/sys/netinet/tcp_subr.c