diff options
author | ume <ume@FreeBSD.org> | 2003-07-19 16:47:16 +0000 |
---|---|---|
committer | ume <ume@FreeBSD.org> | 2003-07-19 16:47:16 +0000 |
commit | 3cdda3c5313c862f56c3baf192ebd8be9f3ef295 (patch) | |
tree | c7211cc5c6ee10f35f0fe2abe484900305b1c78a /sys/net | |
parent | 85a3d8b88c73a10da525b8c8ba1d709dd3ccfd69 (diff) | |
download | FreeBSD-src-3cdda3c5313c862f56c3baf192ebd8be9f3ef295.zip FreeBSD-src-3cdda3c5313c862f56c3baf192ebd8be9f3ef295.tar.gz |
Disabling multicast on vlan interface caused kernel panic.
PR: kern/40723
Submitted by: Hideki ONO <ono@kame.net>
MFC after: 1 week
Diffstat (limited to 'sys/net')
-rw-r--r-- | sys/net/if.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/net/if.c b/sys/net/if.c index 41b7286..bddf781 100644 --- a/sys/net/if.c +++ b/sys/net/if.c @@ -1821,8 +1821,10 @@ if_addmulti(ifp, sa, retifma) 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(); TAILQ_INSERT_HEAD(&ifp->if_multiaddrs, ifma, ifma_link); splx(s); |