From 934ada2ee83964da06f6e506f66d2a1c22338bbd Mon Sep 17 00:00:00 2001 From: bluhm Date: Tue, 1 Mar 2022 23:53:03 +0000 Subject: [PATCH] Remove outdated comment about v4-mapped v6 addresses. They are not supported anymore. --- sys/netinet/in_pcb.c | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/sys/netinet/in_pcb.c b/sys/netinet/in_pcb.c index f43535b8a1e..a61dafcb180 100644 --- a/sys/netinet/in_pcb.c +++ b/sys/netinet/in_pcb.c @@ -1,4 +1,4 @@ -/* $OpenBSD: in_pcb.c,v 1.256 2021/10/25 22:20:47 bluhm Exp $ */ +/* $OpenBSD: in_pcb.c,v 1.257 2022/03/01 23:53:03 bluhm Exp $ */ /* $NetBSD: in_pcb.c,v 1.25 1996/02/13 23:41:53 christos Exp $ */ /* @@ -671,14 +671,6 @@ in_pcbnotifyall(struct inpcbtable *table, struct sockaddr *dst, u_int rtable, NET_ASSERT_LOCKED(); -#ifdef INET6 - /* - * See in6_pcbnotify() for IPv6 codepath. By the time this - * gets called, the addresses passed are either definitely IPv4 or - * IPv6; *_pcbnotify() never gets called with v4-mapped v6 addresses. - */ -#endif /* INET6 */ - if (dst->sa_family != AF_INET) return; faddr = satosin(dst)->sin_addr; -- 2.20.1