From owner-freebsd-net@FreeBSD.ORG Tue Feb 12 11:30:03 2013 Return-Path: Delivered-To: freebsd-net@smarthost.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 4F6F05C2 for ; Tue, 12 Feb 2013 11:30:02 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) by mx1.freebsd.org (Postfix) with ESMTP id ECDB986B for ; Tue, 12 Feb 2013 11:30:01 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.6/8.14.6) with ESMTP id r1CBU0lt062734 for ; Tue, 12 Feb 2013 11:30:00 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.6/8.14.6/Submit) id r1CBU0dC062730; Tue, 12 Feb 2013 11:30:00 GMT (envelope-from gnats) Date: Tue, 12 Feb 2013 11:30:00 GMT Message-Id: <201302121130.r1CBU0dC062730@freefall.freebsd.org> To: freebsd-net@FreeBSD.org Cc: From: Ralf Wenk Subject: Re: kern/173475: [tun] tun(4) stays opened by PID after process is terminated X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: Ralf Wenk List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 12 Feb 2013 11:30:03 -0000 The following reply was made to PR kern/173475; it has been noted by GNATS. From: Ralf Wenk To: Emanuel Haupt Cc: bug-followup@FreeBSD.org Subject: Re: kern/173475: [tun] tun(4) stays opened by PID after process is terminated Date: Tue, 12 Feb 2013 12:27:12 +0100 > Could you please try the following vpnc patch? It tries to work around > this deadlock situation: > > http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/175067 > > However, the underlying problem with if_tun should be looked at > separately in this PR. > > Emanuel Tried today with a newer (r245247) kernel than at the date of the bug report. Without the patch the behavior was as described. With the patch repeated use of vpnc, vpnc-disconnect works again. So this patch is a sufficient workaround. Ralf