From nobody@FreeBSD.org  Sun Nov  4 23:28:45 2007
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id 1004216A41A
	for <freebsd-gnats-submit@FreeBSD.org>; Sun,  4 Nov 2007 23:28:45 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (www.freebsd.org [IPv6:2001:4f8:fff6::21])
	by mx1.freebsd.org (Postfix) with ESMTP id 050CB13C48E
	for <freebsd-gnats-submit@FreeBSD.org>; Sun,  4 Nov 2007 23:28:45 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (localhost [127.0.0.1])
	by www.freebsd.org (8.14.1/8.14.1) with ESMTP id lA4NSYVT080392
	for <freebsd-gnats-submit@FreeBSD.org>; Sun, 4 Nov 2007 23:28:34 GMT
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.14.1/8.14.1/Submit) id lA4NSYVN080389;
	Sun, 4 Nov 2007 23:28:34 GMT
	(envelope-from nobody)
Message-Id: <200711042328.lA4NSYVN080389@www.freebsd.org>
Date: Sun, 4 Nov 2007 23:28:34 GMT
From: Dmitry Rybin <dimanenator@gmail.com>
To: freebsd-gnats-submit@FreeBSD.org
Subject: Kernel Panic
X-Send-Pr-Version: www-3.1
X-GNATS-Notify:

>Number:         117827
>Category:       kern
>Synopsis:       [pf] [panic] kernel panic with pf and ng
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-pf
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sun Nov 04 23:30:01 UTC 2007
>Closed-Date:    Sat Apr 12 20:07:16 UTC 2008
>Last-Modified:  Sat Apr 12 20:07:16 UTC 2008
>Originator:     Dmitry Rybin
>Release:        7.0
>Organization:
Corbina Telecom
>Environment:
FreeBSD alpha.kirgudu.loc 7.0-BETA2 FreeBSD 7.0-BETA2 #0: Mon Nov  5 00:34:07 MSK 2007     diman@alpha.kirgudu.loc:/usr/obj/usr/src/sys/ALPHA7  i386

>Description:
If I use pf packet filter and use ng interface, then I am destroy
interface and create it -> pfctl -f /etc/pf.conf -> kernel panic
>How-To-Repeat:
1.
enable pf.
pf.conf
vpn_if="ng0"

pass out quick on $vpn_if keep state
===========================
2.
mpd4, create connection. 
===========================
3.
pfctl -f /etc/pf.conf
===========================
4.
Stop and then start mpd4.
===========================
5.
pfctl -f /etc/pf.conf

KERNEL PANIC
>Fix:
I don't know

>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-bugs->freebsd-pf 
Responsible-Changed-By: linimon 
Responsible-Changed-When: Mon Nov 5 02:53:10 UTC 2007 
Responsible-Changed-Why:  
Over to maintainer(s). 

http://www.freebsd.org/cgi/query-pr.cgi?pr=117827 

From: Remko Lodder <remko@FreeBSD.org>
To: Dmitry Rybin <dimanenator@gmail.com>
Cc: freebsd-gnats-submit@FreeBSD.org
Subject: Re: kern/117827: Kernel Panic
Date: Mon, 05 Nov 2007 18:46:02 +0100

 Dmitry Rybin wrote:
 > FreeBSD alpha.kirgudu.loc 7.0-BETA2 FreeBSD 7.0-BETA2 #0: Mon Nov  5 00:34:07 MSK 2007     diman@alpha.kirgudu.loc:/usr/obj/usr/src/sys/ALPHA7  i386
 > 
 >> Description:
 > If I use pf packet filter and use ng interface, then I am destroy interface and create it -> pfctl -f /etc/pf.conf -> kernel panic
 >> How-To-Repeat:
 > 1.
 > enable pf.
 > pf.conf
 > vpn_if="ng0"
 > 
 > pass out quick on $vpn_if keep state
 > ===========================
 > 2.
 > mpd4, create connection. 
 > ===========================
 > 3.
 > pfctl -f /etc/pf.conf
 > ===========================
 > 4.
 > Stop and then start mpd4.
 > ===========================
 > 5.
 > pfctl -f /etc/pf.conf
 > 
 > KERNEL PANIC
 >> Fix:
 > I don't know
 > 
 
 Hello,
 
 Please obtain a kernel dump and backtrace and post them in the ticket
 (reply-all to this message).
 You can read how you do that through:
 http://www.freebsd.org/doc/en/developers-handbook/kerneldebug.html
 
 The current information is too narrow to be useful for resolving the
 problem.
 
 Thanks,
 remko
 
 -- 
 Kind regards,
 
      Remko Lodder               ** remko@elvandar.org
      FreeBSD                    ** remko@FreeBSD.org
 
      /* Quis custodiet ipsos custodes */
State-Changed-From-To: open->feedback 
State-Changed-By: kris 
State-Changed-When: Tue Dec 25 13:55:43 UTC 2007 
State-Changed-Why:  
Awaiting user response with necessary debugging information 

http://www.freebsd.org/cgi/query-pr.cgi?pr=117827 
State-Changed-From-To: feedback->open 
State-Changed-By: kris 
State-Changed-When: Sun Dec 30 11:25:42 UTC 2007 
State-Changed-Why:  
Feedback received, thanks 

http://www.freebsd.org/cgi/query-pr.cgi?pr=117827 

From: Florian Smeets <flo@kasimir.com>
To: bug-followup@FreeBSD.org, dimanenator@gmail.com
Cc:  
Subject: Re: kern/117827: [pf] kernel panic with pf and ng
Date: Sun, 30 Dec 2007 16:27:36 +0100

 Hi,
 
 Max has submitted a patch for this here:
 
 http://docs.freebsd.org/cgi/mid.cgi?200711272144.52511.max
 
 For me it works successfully on 7-BETA4 and -CURRENT.
 
 Cheers,
 Florian

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: kern/117827: commit references a PR
Date: Sat, 29 Mar 2008 00:24:47 +0000 (UTC)

 mlaier      2008-03-29 00:24:36 UTC
 
   FreeBSD src repository
 
   Modified files:
     contrib/pf/pfctl     pfctl_altq.c pfctl_qstats.c 
     sys/contrib/pf/net   pf_if.c pf_ioctl.c pfvar.h 
   Log:
   Make ALTQ cope with disappearing interfaces (particularly common with mpd
   and netgraph in gernal).  This also allows to add queues for an interface
   that is not yet existing (you have to provide the bandwidth for the
   interface, however).
   
   PR:             kern/106400, kern/117827
   MFC after:      2 weeks
   
   Revision  Changes    Path
   1.10      +12 -0     src/contrib/pf/pfctl/pfctl_altq.c
   1.7       +26 -0     src/contrib/pf/pfctl/pfctl_qstats.c
   1.15      +6 -0      src/sys/contrib/pf/net/pf_if.c
   1.31      +116 -2    src/sys/contrib/pf/net/pf_ioctl.c
   1.17      +7 -0      src/sys/contrib/pf/net/pfvar.h
 _______________________________________________
 cvs-all@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/cvs-all
 To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
 

From: Max Laier <max@love2party.net>
To: bug-followup@freebsd.org,
 dimanenator@gmail.com
Cc:  
Subject: Re: kern/117827: [pf] [panic] kernel panic with pf and ng
Date: Sat, 29 Mar 2008 01:56:36 +0100

 Here are MFC patches for RELENG_6 and RELENG_7, please test and report 
 back, thanks!
 
 http://people.freebsd.org/%7Emlaier/pf.dyn_altq.R6.diff
 http://people.freebsd.org/%7Emlaier/pf.dyn_altq.R7.diff
 
 --
  Max
State-Changed-From-To: open->feedback 
State-Changed-By: mlaier 
State-Changed-When: Sat Mar 29 01:00:24 UTC 2008 
State-Changed-Why:  
MFC patches need testing, thanks. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=117827 

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: kern/117827: commit references a PR
Date: Sat, 12 Apr 2008 18:26:58 +0000 (UTC)

 mlaier      2008-04-12 18:26:48 UTC
 
   FreeBSD src repository
 
   Modified files:        (Branch: RELENG_7)
     contrib/pf/pfctl     pfctl_altq.c pfctl_qstats.c 
     sys/contrib/pf/net   pf_if.c pf_ioctl.c pfvar.h 
   Log:
   MFC:
     Make ALTQ cope with disappearing interfaces (particularly common with mpd
     and netgraph in gernal).  This also allows to add queues for an interface
     that is not yet existing (you have to provide the bandwidth for the
     interface, however).
   
     PR:           kern/106400, kern/117827
   
   Tested by:      Florian Smeets, Boris S.
   
   Revision  Changes    Path
   1.9.2.1   +13 -1     src/contrib/pf/pfctl/pfctl_altq.c
   1.6.10.1  +27 -1     src/contrib/pf/pfctl/pfctl_qstats.c
   1.11.2.3  +7 -1      src/sys/contrib/pf/net/pf_if.c
   1.28.2.2  +117 -3    src/sys/contrib/pf/net/pf_ioctl.c
   1.16.2.1  +8 -1      src/sys/contrib/pf/net/pfvar.h
 _______________________________________________
 cvs-all@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/cvs-all
 To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
 

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: kern/117827: commit references a PR
Date: Sat, 12 Apr 2008 19:52:24 +0000 (UTC)

 mlaier      2008-04-12 19:52:13 UTC
 
   FreeBSD src repository
 
   Modified files:        (Branch: RELENG_6)
     contrib/pf/pfctl     pfctl_altq.c pfctl_qstats.c 
     sys/contrib/pf/net   pf_if.c pf_ioctl.c pfvar.h 
   Log:
   MFC:
     Make ALTQ cope with disappearing interfaces (particularly common with mpd
     and netgraph in gernal).  This also allows to add queues for an interface
     that is not yet existing (you have to provide the bandwidth for the
     interface, however).
   
     PR:           kern/106400, kern/117827
   
   Tested by:      Florian Smeets, Boris S.
   
   Revision  Changes    Path
   1.7.2.2   +13 -1     src/contrib/pf/pfctl/pfctl_altq.c
   1.6.2.1   +27 -1     src/contrib/pf/pfctl/pfctl_qstats.c
   1.10.2.1  +7 -1      src/sys/contrib/pf/net/pf_if.c
   1.20.2.6  +117 -3    src/sys/contrib/pf/net/pf_ioctl.c
   1.11.2.3  +8 -1      src/sys/contrib/pf/net/pfvar.h
 _______________________________________________
 cvs-all@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/cvs-all
 To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
 
State-Changed-From-To: feedback->closed 
State-Changed-By: mlaier 
State-Changed-When: Sat Apr 12 20:06:42 UTC 2008 
State-Changed-Why:  
Commited to RELENG_6 and _7.  Thanks for testing. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=117827 
>Unformatted:
