summaryrefslogtreecommitdiff
path: root/sys/netinet
diff options
context:
space:
mode:
authorJun-ichiro itojun Hagino <itojun@cvs.openbsd.org>2001-12-06 02:21:49 +0000
committerJun-ichiro itojun Hagino <itojun@cvs.openbsd.org>2001-12-06 02:21:49 +0000
commitb80447c07d1b9419679e3cc15a9e72085579f478 (patch)
tree3a85cc3fce4919c9fda29e95360e18646da439c3 /sys/netinet
parentbccb0e15698c8a1368785094ed78b9a9b2958955 (diff)
remove obsolete comment; we don't support IPv4 mapped addr
Diffstat (limited to 'sys/netinet')
-rw-r--r--sys/netinet/in_pcb.c12
1 files changed, 1 insertions, 11 deletions
diff --git a/sys/netinet/in_pcb.c b/sys/netinet/in_pcb.c
index d6f8a930373..1f25c3545fc 100644
--- a/sys/netinet/in_pcb.c
+++ b/sys/netinet/in_pcb.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: in_pcb.c,v 1.57 2001/12/06 02:12:52 itojun Exp $ */
+/* $OpenBSD: in_pcb.c,v 1.58 2001/12/06 02:21:48 itojun Exp $ */
/* $NetBSD: in_pcb.c,v 1.25 1996/02/13 23:41:53 christos Exp $ */
/*
@@ -805,16 +805,6 @@ in_pcblookup(table, faddrp, fport_arg, laddrp, lport_arg, flags)
struct in6_addr *laddr6 = (struct in6_addr *)laddrp;
struct in6_addr *faddr6 = (struct in6_addr *)faddrp;
- /*
- * Always skip AF_INET sockets when looking
- * for AF_INET6 addresses. The only problem
- * with this comes if the PF_INET6 addresses
- * are v4-mapped addresses. From what I've
- * been able to see, none of the callers cause
- * such a situation to occur. If such a
- * situation DID occur, then it is possible to
- * miss a matching PCB.
- */
if (!(inp->inp_flags & INP_IPV6))
continue;