diff options
Diffstat (limited to 'net/dccp/ipv6.c')
-rw-r--r-- | net/dccp/ipv6.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/net/dccp/ipv6.c b/net/dccp/ipv6.c index 703a21acf434..5166b0043f95 100644 --- a/net/dccp/ipv6.c +++ b/net/dccp/ipv6.c | |||
@@ -404,6 +404,7 @@ static int dccp_v6_conn_request(struct sock *sk, struct sk_buff *skb) | |||
404 | ireq->ir_v6_rmt_addr = ipv6_hdr(skb)->saddr; | 404 | ireq->ir_v6_rmt_addr = ipv6_hdr(skb)->saddr; |
405 | ireq->ir_v6_loc_addr = ipv6_hdr(skb)->daddr; | 405 | ireq->ir_v6_loc_addr = ipv6_hdr(skb)->daddr; |
406 | write_pnet(&ireq->ireq_net, sock_net(sk)); | 406 | write_pnet(&ireq->ireq_net, sock_net(sk)); |
407 | ireq->ireq_family = AF_INET6; | ||
407 | 408 | ||
408 | if (ipv6_opt_accepted(sk, skb, IP6CB(skb)) || | 409 | if (ipv6_opt_accepted(sk, skb, IP6CB(skb)) || |
409 | np->rxopt.bits.rxinfo || np->rxopt.bits.rxoinfo || | 410 | np->rxopt.bits.rxinfo || np->rxopt.bits.rxoinfo || |