From owner-freebsd-bugs@FreeBSD.ORG Thu Nov 10 11:00:35 2005 Return-Path: X-Original-To: freebsd-bugs@hub.freebsd.org Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1C1FD16A41F for ; Thu, 10 Nov 2005 11:00:35 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id DCB4243D46 for ; Thu, 10 Nov 2005 11:00:34 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.3/8.13.3) with ESMTP id jAAB0YNP002557 for ; Thu, 10 Nov 2005 11:00:34 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.3/8.13.1/Submit) id jAAB0YCq002556; Thu, 10 Nov 2005 11:00:34 GMT (envelope-from gnats) Date: Thu, 10 Nov 2005 11:00:34 GMT Message-Id: <200511101100.jAAB0YCq002556@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org From: Victor Snezhko Cc: Subject: Re: kern/88725: /usr/sbin/ppp panic with 2005.10.21 netinet6 changes X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Victor Snezhko List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 10 Nov 2005 11:00:35 -0000 The following reply was made to PR kern/88725; it has been noted by GNATS. From: Victor Snezhko To: bug-followup@freebsd.org Cc: freebsd-current@freebsd.org, Vladimir Kushnir , Max Laier , 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 --=-=-=--