[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <1496888620.736.53.camel@edumazet-glaptop3.roam.corp.google.com>
Date: Wed, 07 Jun 2017 19:23:40 -0700
From: Eric Dumazet <eric.dumazet@...il.com>
To: Haishuang Yan <yanhaishuang@...s.chinamobile.com>
Cc: netdev@...r.kernel.org
Subject: Re: [PATCH v2 2/2] ip6_tunnel: fix potential issue in __ip6_tnl_rcv
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 <ast@...com>
> Fixes: 8d79266bc48c ("ip6_tunnel: add collect_md mode to IPv6 tunnels")
> Signed-off-by: Haishuang Yan <yanhaishuang@...s.chinamobile.com>
> ---
Acked-by: Eric Dumazet <edumazet@...gle.com>
Thanks !
Powered by blists - more mailing lists