Disabling multicast on vlan interface caused kernel panic.
PR: kern/40723 Submitted by: Hideki ONO <ono@kame.net> MFC after: 1 week
This commit is contained in:
parent
9e222aaf7a
commit
89eaef50bb
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=117786
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user