Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 13 Jul 2007 21:24:56 GMT
From:      Volker Werth <volker@vwsoft.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   kern/114567: LOR pf_ioctl.c + if.c
Message-ID:  <200707132124.l6DLOuIF028810@www.freebsd.org>
Resent-Message-ID: <200707132130.l6DLU2cp008593@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         114567
>Category:       kern
>Synopsis:       LOR pf_ioctl.c + if.c
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-bugs
>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:
>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:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200707132124.l6DLOuIF028810>