kern/88725: /usr/sbin/ppp panic with 2005.10.21 netinet6 changes

Victor Snezhko snezhko at indorsoft.ru
Thu Nov 10 03:00:35 PST 2005


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

From: Victor Snezhko <snezhko at indorsoft.ru>
To: bug-followup at freebsd.org
Cc: freebsd-current at freebsd.org, Vladimir Kushnir <vkushnir at i.kiev.ua>, Max
 Laier <max at love2party.net>, suz at freebsd.org
Subject: Re: kern/88725: /usr/sbin/ppp panic with 2005.10.21 netinet6
 changes
Date: Thu, 10 Nov 2005 16:54:34 +0600

 --=-=-=
 
 Mark Tinguely has found the offending timer.
 
 The following patch fixes the problem for me:
 
 
 --=-=-=
 Content-Type: text/x-patch
 Content-Disposition: attachment; filename=mld6.diff
 
 --- mld6.c	Wed Nov  9 08:27:14 2005
 ***************
 *** 640,645 ****
 --- 640,649 ----
   		mld6_stop_listening(in6m);
   		ifma->ifma_protospec = NULL;
   		LIST_REMOVE(in6m, in6m_entry);
 + 		if (in6m->in6m_timer != IN6M_TIMER_UNDEF) {
 + 			printf("in6_delmulti: timer 0x%p is still active\n", in6m->in6m_timer_ch);
 + 			mld_stoptimer(in6m);
 + 		}
   		free(in6m->in6m_timer_ch, M_IP6MADDR);
   		free(in6m, M_IP6MADDR);
   	}
 
 --=-=-=
 
 
 Printf is fired with the patch applied, and panic doesn't occur.
 
 I have tested it on -current cvsupped with date=2005.10.21.16.25.00,
 and will test it on the fresh -current (in a day or two - I will need
 to recompile everything). The patch should work there
 although. According to the cvsweb, mld6.c didn't change.  
 
 -- 
 WBR, Victor V. Snezhko
 EMail: snezhko at indorsoft.ru
 
 --=-=-=--
 


More information about the freebsd-bugs mailing list