diff options
Diffstat (limited to 'net/ipv6/tcp_ipv6.c')
-rw-r--r-- | net/ipv6/tcp_ipv6.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/net/ipv6/tcp_ipv6.c b/net/ipv6/tcp_ipv6.c index 77d723bbe050..eec814fe53b8 100644 --- a/net/ipv6/tcp_ipv6.c +++ b/net/ipv6/tcp_ipv6.c | |||
@@ -1119,11 +1119,11 @@ static struct sock *tcp_v6_syn_recv_sock(const struct sock *sk, struct sk_buff * | |||
1119 | newnp->ipv6_fl_list = NULL; | 1119 | newnp->ipv6_fl_list = NULL; |
1120 | newnp->pktoptions = NULL; | 1120 | newnp->pktoptions = NULL; |
1121 | newnp->opt = NULL; | 1121 | newnp->opt = NULL; |
1122 | newnp->mcast_oif = tcp_v6_iif(skb); | 1122 | newnp->mcast_oif = inet_iif(skb); |
1123 | newnp->mcast_hops = ipv6_hdr(skb)->hop_limit; | 1123 | newnp->mcast_hops = ip_hdr(skb)->ttl; |
1124 | newnp->rcv_flowinfo = ip6_flowinfo(ipv6_hdr(skb)); | 1124 | newnp->rcv_flowinfo = 0; |
1125 | if (np->repflow) | 1125 | if (np->repflow) |
1126 | newnp->flow_label = ip6_flowlabel(ipv6_hdr(skb)); | 1126 | newnp->flow_label = 0; |
1127 | 1127 | ||
1128 | /* | 1128 | /* |
1129 | * No need to charge this sock to the relevant IPv6 refcnt debug socks count | 1129 | * No need to charge this sock to the relevant IPv6 refcnt debug socks count |