summaryrefslogtreecommitdiffstats
path: root/sys/netinet/tcp_input.c
diff options
context:
space:
mode:
authorphessler <phessler@openbsd.org>2013-10-20 11:03:00 +0000
committerphessler <phessler@openbsd.org>2013-10-20 11:03:00 +0000
commitdc01e491976fd30bd71a4912a9e6ec8a4e5ca36c (patch)
treec0563dc277ac816d20f19bcccdbf26debcb80045 /sys/netinet/tcp_input.c
parentWSDISPLAYIO_GTYPE ioctl support for KMS drivers. ok jsg@ (diff)
downloadwireguard-openbsd-dc01e491976fd30bd71a4912a9e6ec8a4e5ca36c.tar.xz
wireguard-openbsd-dc01e491976fd30bd71a4912a9e6ec8a4e5ca36c.zip
Put a large chunk of the IPv6 rdomain support in-tree.
Still some important missing pieces, and this is not yet enabled. OK bluhm@
Diffstat (limited to 'sys/netinet/tcp_input.c')
-rw-r--r--sys/netinet/tcp_input.c8
1 files changed, 5 insertions, 3 deletions
diff --git a/sys/netinet/tcp_input.c b/sys/netinet/tcp_input.c
index 978e9474fcf..d9b274a437e 100644
--- a/sys/netinet/tcp_input.c
+++ b/sys/netinet/tcp_input.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: tcp_input.c,v 1.268 2013/09/06 18:35:16 bluhm Exp $ */
+/* $OpenBSD: tcp_input.c,v 1.269 2013/10/20 11:03:01 phessler Exp $ */
/* $NetBSD: tcp_input.c,v 1.23 1996/02/13 23:43:44 christos Exp $ */
/*
@@ -596,7 +596,8 @@ findpcb:
#ifdef INET6
case AF_INET6:
inp = in6_pcbhashlookup(&tcbtable, &ip6->ip6_src,
- th->th_sport, &ip6->ip6_dst, th->th_dport);
+ th->th_sport, &ip6->ip6_dst, th->th_dport,
+ m->m_pkthdr.rdomain);
break;
#endif
case AF_INET:
@@ -621,7 +622,8 @@ findpcb:
#ifdef INET6
case AF_INET6:
inp = in6_pcblookup_listen(&tcbtable,
- &ip6->ip6_dst, th->th_dport, inpl_reverse, m);
+ &ip6->ip6_dst, th->th_dport, inpl_reverse, m,
+ m->m_pkthdr.rdomain);
break;
#endif /* INET6 */
case AF_INET: