[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CAOrHB_A8yBEwuBvqKBK3qX8Jgrm2ZnH0_6932r52Dnv0xWt_fg@mail.gmail.com>
Date: Thu, 8 Jun 2017 14:47:59 -0700
From: Pravin Shelar <pshelar@....org>
To: Haishuang Yan <yanhaishuang@...s.chinamobile.com>
Cc: "=David S. Miller" <davem@...emloft.net>,
Alexey Kuznetsov <kuznet@....inr.ac.ru>,
James Morris <jmorris@...ei.org>,
Hideaki YOSHIFUJI <yoshfuji@...ux-ipv6.org>,
Patrick McHardy <kaber@...sh.net>,
Linux Kernel Network Developers <netdev@...r.kernel.org>,
linux-kernel@...r.kernel.org, Pravin B Shelar <pshelar@...ira.com>
Subject: Re: [PATCH v3 1/2] ip_tunnel: fix potential issue in ip_tunnel_rcv
On Wed, Jun 7, 2017 at 9:32 PM, Haishuang Yan
<yanhaishuang@...s.chinamobile.com> wrote:
> When ip_tunnel_rcv fails, the tun_dst won't be freed, so call
> dst_release to free it in error code path.
>
> CC: Pravin B Shelar <pshelar@...ira.com>
> Fixes: 2e15ea390e6f ("ip_gre: Add support to collect tunnel metadata.")
> Signed-off-by: Haishuang Yan <yanhaishuang@...s.chinamobile.com>
>
> ---
> Changes in v2:
> - Add the the missing Fixes information
> Changes in v3:
> - Free tun_dst from error code path
> ---
Acked-by: Pravin B Shelar <pshelar@....org>
Powered by blists - more mailing lists