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

Kristof Provost <k...@freebsd.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |k...@freebsd.org

--- Comment #4 from Kristof Provost <k...@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.
_______________________________________________
freebsd-amd64@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-amd64
To unsubscribe, send any mail to "freebsd-amd64-unsubscr...@freebsd.org"

Reply via email to