Date: Wed, 25 Jun 2003 18:19:45 +0900 From: Hideki ONO <ono@kame.net> To: freebsd-bugs@freebsd.org Subject: Re: kern/40723: Disabling multicast on vlan interface caused kernel panic Message-ID: <m21xxi5xam.fsf@hogehoge.soft.net.fujitsu.co.jp>
next in thread | raw e-mail | index | archive | help
This bug(kenr/40723) is still reproducible on FreeBSD 4.8R (and probably on 5.1R). Following patch seems to fix the problem for me. --- 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); -- ono@kame.net
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?m21xxi5xam.fsf>