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

Kristof Provost <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[email protected]

--- Comment #4 from Kristof Provost <[email protected]> ---
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 the assignee for the bug.
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-pf
To unsubscribe, send any mail to "[email protected]"

Reply via email to