Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 17 Jul 2003 01:50:15 -0700 (PDT)
From:      Andrey Lakhno <land@dnepr.net>
To:        freebsd-bugs@FreeBSD.org
Subject:   Re: kern/40723: Disabling multicast on vlan interface caused kernel panic
Message-ID:  <200307170850.h6H8oF5O058956@freefall.freebsd.org>

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

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

From: Andrey Lakhno <land@dnepr.net>
To: Hideki ONO <ono@kame.net>
Cc: freebsd-gnats-submit@FreeBSD.org
Subject: Re: kern/40723: Disabling multicast on vlan interface caused kernel panic
Date: Thu, 17 Jul 2003 11:43:03 +0300

 Hello,
 
 On Thu, 17 Jul 2003, Hideki ONO wrote:
 
 > This problem is caused by not initializing ifma properly.
 > Following patch fix this problem for me.
 
 This patch fix problem for me too.
 FreeBSD-4.8 RELEASE
 Thanks !
 
 > 
 > --- if.c        14 Jun 2003 08:22:02 -0000      1.34
 > +++ if.c        25 Jun 2003 09:16:59 -0000
 > @@ -1556,8 +1556,10 @@
 >                                M_IFMADDR, M_WAITOK);
 >                         bcopy(llsa, dupsa, llsa->sa_len);
 >                         ifma->ifma_addr = dupsa;
 > +                       ifma->ifma_lladdr = NULL;
 >                         ifma->ifma_ifp = ifp;
 >                         ifma->ifma_refcount = 1;
 > +                       ifma->ifma_protospec = 0;
 >                         s = splimp();
 >                         LIST_INSERT_HEAD(&ifp->if_multiaddrs, ifma,
 >                         ifma_link);
 >                         splx(s);
 
 -- 
 Andrey Lakhno,
 land-ripe



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