diff options
author | 2013-10-20 11:03:00 +0000 | |
---|---|---|
committer | 2013-10-20 11:03:00 +0000 | |
commit | dc01e491976fd30bd71a4912a9e6ec8a4e5ca36c (patch) | |
tree | c0563dc277ac816d20f19bcccdbf26debcb80045 /sys/netinet/tcp_usrreq.c | |
parent | WSDISPLAYIO_GTYPE ioctl support for KMS drivers. ok jsg@ (diff) | |
download | wireguard-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_usrreq.c')
-rw-r--r-- | sys/netinet/tcp_usrreq.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/sys/netinet/tcp_usrreq.c b/sys/netinet/tcp_usrreq.c index d979aee0c1d..51c06c73129 100644 --- a/sys/netinet/tcp_usrreq.c +++ b/sys/netinet/tcp_usrreq.c @@ -1,4 +1,4 @@ -/* $OpenBSD: tcp_usrreq.c,v 1.115 2013/10/17 16:27:44 bluhm Exp $ */ +/* $OpenBSD: tcp_usrreq.c,v 1.116 2013/10/20 11:03:01 phessler Exp $ */ /* $NetBSD: tcp_usrreq.c,v 1.20 1996/02/13 23:44:16 christos Exp $ */ /* @@ -830,12 +830,12 @@ tcp_ident(void *oldp, size_t *oldlenp, void *newp, size_t newlen, int dodrop) #ifdef INET6 case AF_INET6: inp = in6_pcbhashlookup(&tcbtable, &f6, - fin6->sin6_port, &l6, lin6->sin6_port); + fin6->sin6_port, &l6, lin6->sin6_port, tir.rdomain); break; #endif case AF_INET: - inp = in_pcbhashlookup(&tcbtable, fin->sin_addr, - fin->sin_port, lin->sin_addr, lin->sin_port , tir.rdomain); + inp = in_pcbhashlookup(&tcbtable, fin->sin_addr, + fin->sin_port, lin->sin_addr, lin->sin_port, tir.rdomain); break; } @@ -855,7 +855,7 @@ tcp_ident(void *oldp, size_t *oldlenp, void *newp, size_t newlen, int dodrop) #ifdef INET6 case AF_INET6: inp = in6_pcblookup_listen(&tcbtable, - &l6, lin6->sin6_port, 0, NULL); + &l6, lin6->sin6_port, 0, NULL, tir.rdomain); break; #endif case AF_INET: |