NetBSD Problem Report #50674
From www@NetBSD.org Mon Jan 18 09:12:36 2016
Return-Path: <www@NetBSD.org>
Received: from mail.netbsd.org (mail.NetBSD.org [199.233.217.200])
(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
(Client CN "mail.netbsd.org", Issuer "Postmaster NetBSD.org" (verified OK))
by mollari.NetBSD.org (Postfix) with ESMTPS id C51527ABC0
for <gnats-bugs@gnats.NetBSD.org>; Mon, 18 Jan 2016 09:12:36 +0000 (UTC)
Message-Id: <20160118091235.A86177ACC6@mollari.NetBSD.org>
Date: Mon, 18 Jan 2016 09:12:35 +0000 (UTC)
From: joel.bertrand@systella.fr
Reply-To: joel.bertrand@systella.fr
To: gnats-bugs@NetBSD.org
Subject: Kernel panics when altqd tries to manage packets on an interface that can be dettached
X-Send-Pr-Version: www-1.0
>Number: 50674
>Category: kern
>Synopsis: Kernel panics when altqd tries to manage packets on an interface that can be dettached
>Confidential: no
>Severity: critical
>Priority: high
>Responsible: kern-bug-people
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Mon Jan 18 09:15:00 +0000 2016
>Originator: BERTRAND Joël
>Release: netbsd-7/HEAD (18th of jan, 2016 tree)
>Organization:
>Environment:
NetBSD legendre.systella.fr 7.0_STABLE NetBSD 7.0_STABLE (CUSTOM) #1: Sun Jan 10 12:53:36 CET 2016 root@legendre.systella.fr:/usr/obj/sys/arch/amd64/compile/CUSTOM amd64
>Description:
I have installed an OpenVPN client on a NetBSD client in level 2 configuration (tap). On this interface, I have configured altqd to assign high priority to SIP :
legendre# cat /etc/altq.conf
# wm0 : LAN
# wm1 : WAN
# tap0 : VPN
interface wm1 bandwidth 10M priq
class priq wm1 high_class NULL priority 1
class priq wm1 low_class NULL priority 0 default
filter wm1 high_class 0 1194 0 0 17
filter wm1 high_class 0 0 0 1194 17
interface tap0 bandwidth 2M priq
class priq tap0 high_class_vpn NULL priority 1
class priq tap0 low_class_vpn NULL priority 0 default
filter tap0 high_class_vpn 192.168.10.250 0 0 0 17
filter tap0 high_class_vpn 0 0 192.168.10.250 0 17
interface wm0 bandwidth 1000M priq
class priq wm0 high_class_lan NULL priority 1
class priq wm0 low_class_lan NULL priority 0 default
filter wm0 high_class_lan 192.168.10.250 0 0 0 17
filter wm0 high_class_lan 0 0 192.168.10.250 0 17
When OpenVPN server disappears, tap0 is detached and kernel panics.
>How-To-Repeat:
Configure altqd on an OpenVPN link (client side) and stop OpenVPN server.
>Fix:
Disable altqd or remove tap0 from /etc/altqd.conf, but it is not acceptable.
(Contact us)
$NetBSD: query-full-pr,v 1.39 2013/11/01 18:47:49 spz Exp $
$NetBSD: gnats_config.sh,v 1.8 2006/05/07 09:23:38 tsutsui Exp $
Copyright © 1994-2014
The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.