NetBSD-Bugs archive

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

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



The following reply was made to PR kern/41364; it has been noted by GNATS.

From: Mihai Chelaru <mihai.chelaru%NGNetworks.ro@localhost>
To: gnats-bugs%NetBSD.org@localhost
Cc: kern-bug-people%netbsd.org@localhost, gnats-admin%netbsd.org@localhost, 
 netbsd-bugs%netbsd.org@localhost
Subject: Re: kern/41364: Panic in ipf(8)
Date: Wed, 06 May 2009 20:57:21 +0300

 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