Date: Sun, 11 Jul 2021 12:55:25 +0000 From: bugzilla-noreply@freebsd.org To: net@FreeBSD.org Subject: [Bug 254478] Panic when using ipfw and divert sockets Message-ID: <bug-254478-7501-e2itiuFd9b@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-254478-7501@https.bugs.freebsd.org/bugzilla/> References: <bug-254478-7501@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=3D254478 --- Comment #12 from karl@denninger.net --- (In reply to Jack from comment #11) Same bug.=20 Hotfix here will stop it (note this is 12.2-STABLE, may be slightly differe= nt offsets in 13+); I have roughly a day on it now with no panic and previousl= y it was blowing up within minutes: [karl@NewFS /usr/src]$ git diff . diff --git a/sys/netinet/libalias/alias_db.c b/sys/netinet/libalias/alias_d= b.c index 783a8ca3baa..45faf5a2a40 100644 --- a/sys/netinet/libalias/alias_db.c +++ b/sys/netinet/libalias/alias_db.c @@ -1769,7 +1769,8 @@ HouseKeeping(struct libalias *la) * Reduce the amount of house keeping work substantially by * sampling over the packets. */ - if (packets % packet_limit =3D=3D 0) { + if (packet_limit =3D=3D 0 || packets % packet_limit =3D=3D 0) { +/* if (packets % packet_limit =3D=3D 0) { */ time_t now; #ifdef _KERNEL --=20 You are receiving this mail because: You are the assignee for the bug. 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-254478-7501-e2itiuFd9b>