From nobody@FreeBSD.org  Fri Jul 13 21:24:56 2007
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52])
	by hub.freebsd.org (Postfix) with ESMTP id DCDAD16A405
	for <freebsd-gnats-submit@FreeBSD.org>; Fri, 13 Jul 2007 21:24:56 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (www.freebsd.org [69.147.83.33])
	by mx1.freebsd.org (Postfix) with ESMTP id CD7D013C49D
	for <freebsd-gnats-submit@FreeBSD.org>; Fri, 13 Jul 2007 21:24:56 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (localhost [127.0.0.1])
	by www.freebsd.org (8.13.1/8.13.1) with ESMTP id l6DLOufi028811
	for <freebsd-gnats-submit@FreeBSD.org>; Fri, 13 Jul 2007 21:24:56 GMT
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.13.1/8.13.1/Submit) id l6DLOuIF028810;
	Fri, 13 Jul 2007 21:24:56 GMT
	(envelope-from nobody)
Message-Id: <200707132124.l6DLOuIF028810@www.freebsd.org>
Date: Fri, 13 Jul 2007 21:24:56 GMT
From: Volker Werth <volker@vwsoft.com>
To: freebsd-gnats-submit@FreeBSD.org
Subject: LOR pf_ioctl.c + if.c
X-Send-Pr-Version: www-3.0

>Number:         114567
>Category:       kern
>Synopsis:       [pf] [lor] pf_ioctl.c + if.c
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-pf
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Fri Jul 13 21:30:02 GMT 2007
>Closed-Date:    
>Last-Modified:  Wed Jan 14 19:50:30 UTC 2009
>Originator:     Volker Werth
>Release:        7-Current
>Organization:
>Environment:
FreeBSD epeios.sz.vwsoft.com 7.0-CURRENT FreeBSD 7.0-CURRENT #2: Fri Jul 13 19:29:31 CEST 2007     root@epeios.sz.vwsoft.com:/usr/obj/usr/src/sys/EPEIOS  i386
csup'd & rebuild world+kernel today
>Description:
lock order reversal:
 1st 0xc623f92c pf task mtx (pf task mtx) @ /usr/src/sys/modules/pf/../../contrib/pf/net/pf_ioctl.c:3157
 2nd 0xc0c3a72c ifnet (ifnet) @ /usr/src/sys/net/if.c:1494
KDB: stack backtrace:
db_trace_self_wrapper(c0ad6218,e78d29e4,c07934ce,c0ad86df,c0c3a72c,...) at db_trace_self_wrapper+0x26
kdb_backtrace(c0ad86df,c0c3a72c,c0adfab5,c0adfab5,c0adf8eb,...) at kdb_backtrace+0x29
witness_checkorder(c0c3a72c,9,c0adf8eb,5d6,c0bf3654,...) at witness_checkorder+0x6de
_mtx_lock_flags(c0c3a72c,0,c0adf8eb,5d6,c627d000,...) at _mtx_lock_flags+0xbc
ifunit(c627d000,c0792cac,0,c0c39d20,c623dd09,...) at ifunit+0x2f
hfsc_pfattach(c627d000,e78d2a80,c622a8ce,c627d000,cf,...) at hfsc_pfattach+0x12
altq_pfattach(c627d000,cf,0,0,c5c7e800,...) at altq_pfattach+0x4c
pf_commit_altq(2,0,c623dd09,c55,2,...) at pf_commit_altq+0x5e
pfioctl(c56aae00,c00c4452,c56536a0,3,c5bb7200,...) at pfioctl+0x45c1
devfs_ioctl_f(c567a7e0,c00c4452,c56536a0,c4f85800,c5bb7200,...) at devfs_ioctl_f+0xc9
kern_ioctl(c5bb7200,3,c00c4452,c56536a0,1000000,...) at kern_ioctl+0x243
ioctl(c5bb7200,e78d2cfc,c,c0b0855b,c0b83470,...) at ioctl+0x134
syscall(e78d2d38) at syscall+0x2b3
Xint0x80_syscall() at Xint0x80_syscall+0x20
--- syscall (54, FreeBSD ELF32, ioctl), eip = 0x281a8e23, esp = 0xbfbfde6c, ebp = 0xbfbfde98 ---
>How-To-Repeat:

>Fix:


>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-bugs->freebsd-pf 
Responsible-Changed-By: linimon 
Responsible-Changed-When: Wed Jul 18 21:53:20 UTC 2007 
Responsible-Changed-Why:  
Over to maintainer(s). 

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