Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 10 Nov 2005 11:00:34 GMT
From:      Victor Snezhko <snezhko@indorsoft.ru>
To:        freebsd-bugs@FreeBSD.org
Subject:   Re: kern/88725: /usr/sbin/ppp panic with 2005.10.21 netinet6 changes
Message-ID:  <200511101100.jAAB0YCq002556@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

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

From: Victor Snezhko <snezhko@indorsoft.ru>
To: bug-followup@freebsd.org
Cc: freebsd-current@freebsd.org, Vladimir Kushnir <vkushnir@i.kiev.ua>, Max
 Laier <max@love2party.net>, suz@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@indorsoft.ru
 
 --=-=-=--
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200511101100.jAAB0YCq002556>