aboutsummaryrefslogtreecommitdiffstats
path: root/net/ipv6/tcp_ipv6.c
diff options
context:
space:
mode:
Diffstat (limited to 'net/ipv6/tcp_ipv6.c')
-rw-r--r--net/ipv6/tcp_ipv6.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/net/ipv6/tcp_ipv6.c b/net/ipv6/tcp_ipv6.c
index 57ef69a10889..44d431849d39 100644
--- a/net/ipv6/tcp_ipv6.c
+++ b/net/ipv6/tcp_ipv6.c
@@ -1110,11 +1110,11 @@ static struct sock *tcp_v6_syn_recv_sock(const struct sock *sk, struct sk_buff *
1110 newnp->ipv6_fl_list = NULL; 1110 newnp->ipv6_fl_list = NULL;
1111 newnp->pktoptions = NULL; 1111 newnp->pktoptions = NULL;
1112 newnp->opt = NULL; 1112 newnp->opt = NULL;
1113 newnp->mcast_oif = tcp_v6_iif(skb); 1113 newnp->mcast_oif = inet_iif(skb);
1114 newnp->mcast_hops = ipv6_hdr(skb)->hop_limit; 1114 newnp->mcast_hops = ip_hdr(skb)->ttl;
1115 newnp->rcv_flowinfo = ip6_flowinfo(ipv6_hdr(skb)); 1115 newnp->rcv_flowinfo = 0;
1116 if (np->repflow) 1116 if (np->repflow)
1117 newnp->flow_label = ip6_flowlabel(ipv6_hdr(skb)); 1117 newnp->flow_label = 0;
1118 1118
1119 /* 1119 /*
1120 * No need to charge this sock to the relevant IPv6 refcnt debug socks count 1120 * No need to charge this sock to the relevant IPv6 refcnt debug socks count