mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-13 10:02:38 +00:00
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
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=162119
@ -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
Block a user