From owner-freebsd-current@FreeBSD.ORG Mon Jun 4 14:30:43 2012 Return-Path: Delivered-To: freebsd-current@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E27FE106566B; Mon, 4 Jun 2012 14:30:43 +0000 (UTC) (envelope-from misho@aitbg.com) Received: from x0r.aitnet.org (unknown [IPv6:2a00:e40:deba:1::5]) by mx1.freebsd.org (Postfix) with ESMTP id 9B4A08FC18; Mon, 4 Jun 2012 14:30:43 +0000 (UTC) Received: from localhost (unknown [127.0.0.1]) by x0r.aitnet.org (Postfix) with ESMTP id DB77E3F7AA; Mon, 4 Jun 2012 17:30:42 +0300 (EEST) X-Virus-Scanned: amavisd-new at aitnet.org Received: from x0r.aitnet.org ([127.0.0.1]) by localhost (x0r.aitnet.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 4zJUyPUjU17k; Mon, 4 Jun 2012 17:30:42 +0300 (EEST) Received: from misho.batmbg.com (unknown [212.116.129.162]) by x0r.aitnet.org (Postfix) with ESMTPSA id B20263F7A6; Mon, 4 Jun 2012 17:30:42 +0300 (EEST) Date: Mon, 4 Jun 2012 17:31:54 +0300 From: Michael Pounov To: freebsd-current@FreeBSD.org, freebsd-net@FreeBSD.org Message-Id: <20120604173154.a54b48ac.misho@aitbg.com> Organization: AITNET X-Mailer: Sylpheed 3.1.2 (GTK+ 2.24.6; i386-portbld-freebsd9.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: Subject: bpf kernel crash X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 04 Jun 2012 14:30:44 -0000 Kernel crash when you wish to change interface name from vlan0 to other name It seems to be in arrival/departure events. 1) when I set up vlan0 and change name to mgmt and after that destroy mgmt. kernel crash in bpfdetach() at line 2495. where it tries to find interface structure. 2) when I setup vlan0, change name to mgmt and set ip address. After few seconds kernel crash in vlan_transmit() at line 1029. where it tries to push mbufs to bpf interface, but it is NULL. -- Michael Pounov