Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 07 Jun 2015 03:37:19 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-pf@FreeBSD.org
Subject:   [Bug 200330] panic: pf_addr_cmp: unknown address family 0 when scrub fragment drop-ovl is used
Message-ID:  <bug-200330-17777-o54gbnVwi3@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-200330-17777@https.bugs.freebsd.org/bugzilla/>
References:  <bug-200330-17777@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=200330

--- Comment #7 from Kristof Provost <kristof@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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-200330-17777-o54gbnVwi3>