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: Jukka Ruohonen <jruohonen%iki.fi@localhost>
To: gnats-bugs%NetBSD.org@localhost
Cc: 
Subject: Re: kern/41364: Panic in ipf(8)
Date: Wed, 6 May 2009 21:24:09 +0300

 On 06.05.2009, Mihai Chelaru wrote:
 > 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
 
 
 That fixed it:
 
 # ipf -D
 SIOCFRENB: No such file or directory
 
 Thanks, Jukka.
 


Home | Main Index | Thread Index | Old Index