[Bug 208140] panic: page fault in pf

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Sat Apr 23 13:52:46 UTC 2016


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=208140

Kristof Provost <kp at freebsd.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |kp at freebsd.org

--- Comment #4 from Kristof Provost <kp at freebsd.org> ---
Could you show the contents of (*state)->key[PF_SK_WIRE (0)] and
(*state)->key[PF_SK_STACK (1)] at the time of the panic?

I'm more interested in the state of the pf_state, because the pf_desc is
allocated on the stack in the calling function. It's very unlikely to be a bad
pointer here.

My current hypothesis is that you're unlucky enough to have one core in
pf_test_state_udp() trying to use state->key[] while another core is in
pf_state_key_attach(). 

The locking there is rather complicated, so before I dig into that it'd be nice
to confirm that one of the PF_SK_WIRE or PF_SK_STACK keys is NULL. (I'd expect
PF_SK_STACK to be NULL, in fact.)

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the freebsd-amd64 mailing list