Kernel Panic

Joe Jones Joe at stream-technologies.com
Thu Mar 1 20:11:41 UTC 2018


Hi,


there is a function called pf_get_sport in /usr/src/sys/netpfil/pf/pf_lb.c which contains a do while loop, the guard is ! PF_AEQ(&init_addr, naddr, af)). We put a counter in this loop and we saw it spin 431728 times, this appears to coincide with a lockup. we'll continue investigating tomorrow.


Regards

Joe Jones

________________________________
From: Kristof Provost <kristof at sigsegv.be>
Sent: 01 March 2018 09:57:18
To: Joe Jones
Cc: freebsd-pf at freebsd.org
Subject: Re: Kernel Panic

On 1 Mar 2018, at 15:37, Joe Jones wrote:
> yes we use pfsync. Yesterday we tried with pfsync switched off, the
> box still locked up but this time without a panic.
>
> We make the DIOCRADDADDRS ioctl on the master and the backup (we use
> CARPed pairs).
>
Interesting. It might be related to pfsync. Is is the master that panics
or the backup? Or both?

Regards,
Kristof


More information about the freebsd-pf mailing list