All multicast listeners on a port should get one copy of the packet. This
was broken during the locking changes.
This commit is contained in:
parent
47b470b9e3
commit
1fcae350ae
|
@ -283,9 +283,9 @@ udp6_input(mp, offp, proto)
|
|||
struct mbuf *n;
|
||||
|
||||
if ((n = m_copy(m, 0, M_COPYALL)) != NULL) {
|
||||
INP_LOCK(in6p);
|
||||
udp6_append(in6p, n, off, &fromsa);
|
||||
INP_UNLOCK(in6p);
|
||||
INP_LOCK(last);
|
||||
udp6_append(last, n, off, &fromsa);
|
||||
INP_UNLOCK(last);
|
||||
}
|
||||
}
|
||||
last = in6p;
|
||||
|
|
Loading…
Reference in New Issue