ipv6: copy lwtstate in ip6_rt_copy_init()
authorNicolas Dichtel <nicolas.dichtel@6wind.com>
Fri, 24 Jul 2015 10:28:35 +0000 (12:28 +0200)
committerDavid S. Miller <davem@davemloft.net>
Mon, 27 Jul 2015 08:02:49 +0000 (01:02 -0700)
commitd943659508a4fb883507fdd3f998329e70a8f922
tree52488187f0c2a16ed5626e39256ee01f56d249dc
parent6673a9f4e35c1f0e9976cd4e88042f87674a6b02
ipv6: copy lwtstate in ip6_rt_copy_init()

We need to copy this field (ip6_rt_cache_alloc() and ip6_rt_pcpu_alloc()
use ip6_rt_copy_init() to build a dst).

CC: Thomas Graf <tgraf@suug.ch>
CC: Roopa Prabhu <roopa@cumulusnetworks.com>
Fixes: 19e42e451506 ("ipv6: support for fib route lwtunnel encap attributes")
Signed-off-by: Nicolas Dichtel <nicolas.dichtel@6wind.com>
Acked-by: Thomas Graf <tgraf@suug.ch>
Acked-by: Roopa Prabhu <roopa@cumulusnetworks.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv6/route.c