[PATCH] Skip placemarker PCB's instead of looking for them.

Kyle Butt kyle at vidanueva.greenhatgeek.net
Fri Jun 26 21:15:07 PDT 2009


Fixes UDP6 multicast
Compared with other PCB loops including UDP6 unicast and
UDP4 multicast.
---
 sys/netinet6/udp6_usrreq.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/sys/netinet6/udp6_usrreq.c b/sys/netinet6/udp6_usrreq.c
index 0b33627..748429b 100644
--- a/sys/netinet6/udp6_usrreq.c
+++ b/sys/netinet6/udp6_usrreq.c
@@ -231,7 +231,7 @@ udp6_input(struct mbuf **mp, int *offp, int proto)
 		 */
 		last = NULL;
 		LIST_FOREACH(in6p, &udbinfo.pcblisthead, inp_list) {
-			if (!(in6p->inp_flags & INP_PLACEMARKER))
+			if (in6p->inp_flags & INP_PLACEMARKER)
 				continue;
 			if (!(in6p->inp_vflag & INP_IPV6))
 				continue;
-- 
1.6.2.5

Attachment:
pgp00000.pgp

--Boundary..86526.1348360726.multipart/signed
Content-Type: application/octet-stream; name="pgp00000.pgp"
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="pgp00000.pgp"
Content-Description: "Description: PGP signature"

LS0tLS1CRUdJTiBQR1AgU0lHTkFUVVJFLS0tLS0KVmVyc2lvbjogR251UEcg
djEuNC45IChEcmFnb25GbHkpCgppRVlFQVJFQ0FBWUZBa3BGa25zQUNna1F5
VUp3eFR6WURXZXZJZ0NncEZJeEN4RXpwdzN3NFE3ZGZlcDhFVDVDCmFiZ0Fu
MjdBSExRVkdMN0Z6NGEvMStSbXpSZGtGWUt3Cj1BdVBMCi0tLS0tRU5EIFBH
UCBTSUdOQVRVUkUtLS0tLQo=
--Boundary..86526.1348360726.multipart/signed--





More information about the Submit mailing list