Date: Thu, 24 Jun 2004 22:26:30 +0300 From: Giorgos Keramidas <keramida@ceid.upatras.gr> To: current@freebsd.org Subject: FIX: today's ipfilter "mutex not locked" panic Message-ID: <20040624192630.GA739@gothmog.gr>
next in thread | raw e-mail | index | archive | help
FWIW, I've locally fixed the panics that some people mentioned today for ipfilter with the following minor diff. Now I can enable ipfilter at boot time and still boot without panics. --- patch begins --- Index: sys/contrib/ipfilter/netinet/fil.c =================================================================== RCS file: /home/ncvs/src/sys/contrib/ipfilter/netinet/fil.c,v retrieving revision 1.38 diff -u -r1.38 fil.c --- sys/contrib/ipfilter/netinet/fil.c 21 Jun 2004 22:46:35 -0000 1.38 +++ sys/contrib/ipfilter/netinet/fil.c 24 Jun 2004 19:17:33 -0000 @@ -2155,9 +2155,6 @@ ip_natsync(ifp); ip_statesync(ifp); } -# if defined(__FreeBSD_version) && (__FreeBSD_version >= 500043) - IFNET_RUNLOCK(); -# endif ip_natsync((struct ifnet *)-1); # if defined(__FreeBSD_version) && (__FreeBSD_version >= 500043) IFNET_RUNLOCK(); --- patch ends ---
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040624192630.GA739>