aboutsummaryrefslogtreecommitdiffstats
path: root/net/ipv6/tcp_ipv6.c
diff options
context:
space:
mode:
authorDavid S. Miller <davem@davemloft.net>2019-03-27 20:37:58 -0400
committerDavid S. Miller <davem@davemloft.net>2019-03-27 20:37:58 -0400
commit356d71e00d278d865f8c7f68adebd6ce4698a7e2 (patch)
tree8cb2dabf7440b56c6dee76b4253210c6b603b98e /net/ipv6/tcp_ipv6.c
parentdf453700e8d81b1bdafdf684365ee2b9431fb702 (diff)
parent1a9df9e29c2afecf6e3089442d429b377279ca3c (diff)
Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net
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 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