ipv6: Call skb_get_hash_flowi6 to get skb->hash in ip6_make_flowlabel
authorTom Herbert <tom@herbertland.com>
Fri, 31 Jul 2015 23:52:11 +0000 (16:52 -0700)
committerDavid S. Miller <davem@davemloft.net>
Sat, 1 Aug 2015 00:07:11 +0000 (17:07 -0700)
commit67800f9b1f4eb5bbefc32e3f5044097354bc85b3
treefe8539672e187703c52b6b9e0344f96c0e344551
parentf70ea018da0631e10c26a02f5a82d626ffef5bd7
ipv6: Call skb_get_hash_flowi6 to get skb->hash in ip6_make_flowlabel

We can't call skb_get_hash here since the packet is not complete to do
flow_dissector. Create hash based on flowi6 instead.

Signed-off-by: Tom Herbert <tom@herbertland.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/ipv6.h
net/ipv6/ip6_gre.c
net/ipv6/ip6_output.c
net/ipv6/ip6_tunnel.c