Hi,
One of the regression tests triggers this panic in the pf purge
thread. I am not sure which test it is as the panic may be delayed.
It happens on a remote machine, the test machine connects to it in
a multi machine setup.
bluhm
login: panic: kernel diagnostic assertion "_kernel_lock_held()" failed: file
"/usr/src/sys/kern/kern_malloc.c", line 373
Stopped at db_enter+0x7: leave
TID PID UID PRFLAGS PFLAGS CPU COMMAND
*284526 76934 0 0x14000 0x200 0 pfpurge
db_enter(d0b626ba,f5480d38,d0a1f6c4,f5480d38,d06dce8d) at db_enter+0x7
panic(d0a1f6c4,d09ca4f6,d09d052d,d09e933c,175) at panic+0x71
__assert(d09ca4f6,d09e933c,175,d09d052d,d8247280) at __assert+0x2e
free(d8247200,5,0,0,d0c51668) at free+0x251
pfr_destroy_ktable(db6a5420,1,f5480e5c,d03665a8,d0be0f80) at
pfr_destroy_ktable+0x49
pfr_setflags_ktable(db6a5420,0,f5480e5c,d037c2b2,d75fda8c) at
pfr_setflags_ktable+0xe3
pfr_setflags_ktable(db6a4f18,6,f5480eac,d036c8a9,d71c8980,0,8a796f54,f5480e9c,d04281c5)
at pfr_setflags_ktable+0x141
pfr_detach_table(db6a4f18,0,d63f0234,d036c985,d71c8938) at pfr_detach_table+0x3c
pf_tbladdr_remove(db75c4f0,2,f5480efc,d036c8dd,db75c7b4) at
pf_tbladdr_remove+0x25
pf_rm_rule(0,db75c4c0,f5480f5c,d0635d28,d0bd150c) at pf_rm_rule+0x224
pf_free_state(d75fdb64,ffffffff,40,0,1) at pf_free_state+0x176
pf_purge_expired_states(5,d0bd150c,20,d09f81dd,64) at
pf_purge_expired_states+0x62
pf_purge_thread(d774c2cc) at pf_purge_thread+0x6e