[Bug 274915] panic immediately on loading ruleset, in pf_ioctl_addrule sha #4ffe410

From: <bugzilla-noreply_at_freebsd.org>
Date: Sun, 05 Nov 2023 11:53:29 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=274915

Kristof Provost <kp@freebsd.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |kp@freebsd.org

--- Comment #2 from Kristof Provost <kp@freebsd.org> ---
Hi Dave,

I've not been able to reproduce this yet. The attached pf.conf appears to have
been HTML-mangled, so perhaps I'm missing something in it.

The rule addition code has recently been moved to netlink, so it's not at all
impossible that I missed something there, but it'll be easier to debug if I can
reproduce it.

Failing that, if you can pass it though kgdb on your box and have that identify
the panicing line in pf_ioctl_addrule(), that might give a clue as well.

(Basically, `sudo kgdb /boot/kernel/kernel /var/crash/vmcore.last`, and then
'bt' to get a backtrace, select the pf_ioctl_addrule() frame 'frame X', and 'l'
to get the source line.)

-- 
You are receiving this mail because:
You are the assignee for the bug.