Date: Thu, 07 Mar 2019 18:15:03 +0000 From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 236368] pfctl 'source tracking nodes' printout broken after r343295 Message-ID: <bug-236368-227-UC0G5XJ3CM@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-236368-227@https.bugs.freebsd.org/bugzilla/>
index | next in thread | previous in thread | raw e-mail
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=236368 Kristof Provost <kp@freebsd.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Assignee|bugs@FreeBSD.org |kp@freebsd.org CC| |kp@freebsd.org Status|New |In Progress --- Comment #1 from Kristof Provost <kp@freebsd.org> --- I think I see what the problem is. Can you confirm this fixes your problem? diff --git a/sys/netpfil/pf/pf_ioctl.c b/sys/netpfil/pf/pf_ioctl.c index c6f9f8451be..bd988e81db2 100644 --- a/sys/netpfil/pf/pf_ioctl.c +++ b/sys/netpfil/pf/pf_ioctl.c @@ -3754,6 +3754,8 @@ pfioctl(struct cdev *dev, u_long cmd, caddr_t addr, int flags, struct thread *td break; } + nr = 0; + p = pstore = malloc(psn->psn_len, M_TEMP, M_WAITOK); for (i = 0, sh = V_pf_srchash; i <= pf_srchashmask; i++, sh++) { -- You are receiving this mail because: You are the assignee for the bug.home | help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-236368-227-UC0G5XJ3CM>
