LOR pf/ifnet

Daniel Gerzo danger at FreeBSD.org
Sat Nov 3 13:59:54 PDT 2007

Hello pf,

  I wasn't able to find this LOR listed on FreeBSD LOR page:
lock order reversal:
 1st 0xffffffff805fa660 pf task mtx (pf task mtx) @ /usr/src/sys/contrib/pf/net/pf_ioctl.c:1304
 2nd 0xffffffff806a97c0 ifnet (ifnet) @ /usr/src/sys/net/if.c:1494
KDB: stack backtrace:
db_trace_self_wrapper() at db_trace_self_wrapper+0x2a
witness_checkorder() at witness_checkorder+0x655
_mtx_lock_flags() at _mtx_lock_flags+0x75
ifunit() at ifunit+0x24
pfioctl() at pfioctl+0x2c2b
devfs_ioctl_f() at devfs_ioctl_f+0x67
kern_ioctl() at kern_ioctl+0xa3
ioctl() at ioctl+0xf0
syscall() at syscall+0x1bc
Xfast_syscall() at Xfast_syscall+0xab
--- syscall (54, FreeBSD ELF64, ioctl), rip = 0x80096289c, rsp = 0x7fffffffdc28, rbp = 0x7fffffffdcb0 ---

Best regards,
 Daniel                          mailto:danger at FreeBSD.org

More information about the freebsd-pf mailing list