Date: Sun, 11 Sep 2016 03:25:04 +0000 From: bugzilla-noreply@freebsd.org To: freebsd-bugs@FreeBSD.org Subject: [Bug 212576] vnet jail startup and shutdown destroys ipfw object rewriter list Message-ID: <bug-212576-8@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D212576 Bug ID: 212576 Summary: vnet jail startup and shutdown destroys ipfw object rewriter list Product: Base System Version: 11.0-RC1 Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: kern Assignee: freebsd-bugs@FreeBSD.org Reporter: avernar@gmail.com In ip_fw2.c the functions ipfw_init_obj_rewriter and ipfw_destroy_obj_rewri= ter are called per vnet but the ctl3_rewriters and ctl3_rsize variables in ip_fw_sockopt.c file are system global. This causes the rewriter list to be wiped out on vnet startup (and again at vnet shutdown but that has no effect on a now empty list). The result is a very small memory leak in the kernel and the "ipfw list" command will segfa= ult if tables are defined as the kernel will not return the table names. Running 11.0-RC2 but it wasn't in the list. --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-212576-8>