Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 10 Nov 2005 16:54:34 +0600
From:      Victor Snezhko <snezhko@indorsoft.ru>
To:        bug-followup@freebsd.org
Cc:        Max, freebsd-current@freebsd.org, Laier <max@love2party.net>
Subject:   Re: kern/88725: /usr/sbin/ppp panic with 2005.10.21 netinet6 changes
Message-ID:  <uslu4ydqt.fsf@indorsoft.ru>
References:  <uy83x3hon.fsf@indorsoft.ru>

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

--=-=-=

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?uslu4ydqt.fsf>