NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: kern/41364: Panic in ipf(8)



Hi,

Can you check if this is fixing it ?


Index: ip_fil_netbsd.c
===================================================================
RCS file: /cvsroot/src/sys/dist/ipf/netinet/ip_fil_netbsd.c,v
retrieving revision 1.49
diff -u -p -r1.49 ip_fil_netbsd.c
--- ip_fil_netbsd.c     19 Apr 2009 18:08:56 -0000      1.49
+++ ip_fil_netbsd.c     6 May 2009 17:53:56 -0000
@@ -485,7 +485,8 @@ int ipfdetach(void)
        SPL_NET(s);

 #if (__NetBSD_Version__ >= 104010000)
-       callout_stop(&fr_slowtimer_ch);
+       if (fr_running > 0)
+               callout_stop(&fr_slowtimer_ch);
 #else
        untimeout(fr_slowtimer, NULL);
 #endif /* NetBSD */


--
Mihai


Home | Main Index | Thread Index | Old Index