diff options
author | Eric Dumazet <edumazet@google.com> | 2015-03-13 00:44:10 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2015-03-13 03:58:13 +0100 |
commit | 3f66b083a5b7f1a63540c24df3679c24f2e935a9 (patch) | |
tree | 60b1b371c11729ed89d6f5bb3ac604eb72792892 /net/ipv6/tcp_ipv6.c | |
parent | inet: get_openreq4() & get_openreq6() do not need listener (diff) | |
download | linux-3f66b083a5b7f1a63540c24df3679c24f2e935a9.tar.xz linux-3f66b083a5b7f1a63540c24df3679c24f2e935a9.zip |
inet: introduce ireq_family
Before inserting request socks into general hash table,
fill their socket family.
Signed-off-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv6/tcp_ipv6.c')
-rw-r--r-- | net/ipv6/tcp_ipv6.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/net/ipv6/tcp_ipv6.c b/net/ipv6/tcp_ipv6.c index 1ccfede7d55f..c5fc6a5e4adc 100644 --- a/net/ipv6/tcp_ipv6.c +++ b/net/ipv6/tcp_ipv6.c @@ -749,6 +749,7 @@ static void tcp_v6_init_req(struct request_sock *req, struct sock *sk, atomic_inc(&skb->users); ireq->pktopts = skb; } + ireq->ireq_family = AF_INET6; } static struct dst_entry *tcp_v6_route_req(struct sock *sk, struct flowi *fl, |