On Thu, 2017-06-08 at 08:57 +0800, Haishuang Yan wrote: > When __ip6_tnl_rcv fails, the tun_dst won't be freed, so move > skb_dst_set to begin and tun_dst would be freed by kfree_skb. > > CC: Alexei Starovoitov <a...@fb.com> > Fixes: 8d79266bc48c ("ip6_tunnel: add collect_md mode to IPv6 tunnels") > Signed-off-by: Haishuang Yan <yanhaishu...@cmss.chinamobile.com> > ---
Acked-by: Eric Dumazet <eduma...@google.com> Thanks !