From owner-freebsd-bugs@FreeBSD.ORG Sun Oct 30 16:41:33 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 0E1DA16A41F; Sun, 30 Oct 2005 16:41:33 +0000 (GMT) (envelope-from brooks@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id BB78243D45; Sun, 30 Oct 2005 16:41:32 +0000 (GMT) (envelope-from brooks@FreeBSD.org) Received: from freefall.freebsd.org (brooks@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.3/8.13.3) with ESMTP id j9UGfWer052711; Sun, 30 Oct 2005 16:41:32 GMT (envelope-from brooks@freefall.freebsd.org) Received: (from brooks@localhost) by freefall.freebsd.org (8.13.3/8.13.1/Submit) id j9UGfWqF052707; Sun, 30 Oct 2005 16:41:32 GMT (envelope-from brooks) Date: Sun, 30 Oct 2005 16:41:32 GMT From: Brooks Davis Message-Id: <200510301641.j9UGfWqF052707@freefall.freebsd.org> To: markkram@tin.it, brooks@FreeBSD.org, freebsd-bugs@FreeBSD.org Cc: Subject: Re: kern/73673: [if_tun] ifconfig tun0 destroy report: ifconfig: SIOCIFDESTROY: Invalid argument X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 30 Oct 2005 16:41:33 -0000 Synopsis: [if_tun] ifconfig tun0 destroy report: ifconfig: SIOCIFDESTROY: Invalid argument State-Changed-From-To: open->closed State-Changed-By: brooks State-Changed-When: Sun Oct 30 16:38:34 GMT 2005 State-Changed-Why: This is not a bug. tun(4) devices do not support the interface cloning API and thus the ifconfig destory command is invalid. If you want to clear the interface state "ifconfig tun0 down delete" should do it. If there's another issue here, please explain it and the PR can be reopened with a correct subject. http://www.freebsd.org/cgi/query-pr.cgi?pr=73673