pf crashes in pfr_update_stats()

Ermal Luçi eri at freebsd.org
Thu Jan 26 15:35:48 UTC 2012


On Thu, Jan 26, 2012 at 3:38 PM, David Siebörger <d.sieborger at ru.ac.za> wrote:
> Hi,
>
> I have a pair of FreeBSD 9.0-RELEASE firewalls which are crashing
> repeatedly.  I've been able to connect to one of them with remote kgdb
> after it crashed (see kgdb session attached), but I haven't been able to
> get to the bottom of what's wrong.  Is anyone able to shed more light on
> this?
>
> The first problem that I see is that the kt argument to
> pfr_update_stats() is null, so the kernel panics as soon as that's
> dereferenced.
>
> Where pfr_update_stats() is called from pf_test(), kgdb tells me that
> "Variable "tr" is not available."  (Is that because of a gcc
> optimisation?)  But, tr ought to equal r in this instance, and r is
> available, so I looked at r.  r->dst.addr.p.tbl is indeed null.
>

I have seen this in 8.x versions also.
Are you doing frequent updating of tables or loading larde lists of
addresses in them?

> Does anyone have any theories about why that could be the case, or
> anything else that I could do to debug this?  I can provide more
> configuration information if needed.
>
>
> --
> David Siebörger
> System Administrator, IT Division, Rhodes University
>
> _______________________________________________
> freebsd-pf at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-pf
> To unsubscribe, send any mail to "freebsd-pf-unsubscribe at freebsd.org"
>



-- 
Ermal


More information about the freebsd-pf mailing list