On Thu, 2017-06-08 at 08:57 +0800, Haishuang Yan wrote: > When ip_tunnel_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: Pravin B Shelar <pshe...@nicira.com> > Fixes: 2e15ea390e6f ("ip_gre: Add support to collect tunnel metadata.") > Signed-off-by: Haishuang Yan <yanhaishuang@cmss.chinamobile.com390e> > ---
Acked-by: Eric Dumazet <eduma...@google.com> Thanks a lot.