[Bug 200330] panic: pf_addr_cmp: unknown address family 0 when scrub fragment drop-ovl is used

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Sun Jun 7 03:37:19 UTC 2015


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

--- Comment #7 from Kristof Provost <kristof at freebsd.org> ---
Created attachment 157492
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=157492&action=edit
Possible patch

I've had a look, and I think I know why you're seeing this panic.

Can you try this patch?

Basically the issue is that if drop-ovl is set we take a different path, which
leads through pf_fragcache(). In pf_fragcache() we create a pf_frag but fail to
set the address family, which leads to the panic you see when we try to insert
it (and compare with pf_addr_cmp()).

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


More information about the freebsd-pf mailing list