[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <7e22f555-eac0-d0cb-85a2-6f2337d32bcb@cogentembedded.com>
Date: Sun, 23 Apr 2017 21:16:37 +0300
From: Sergei Shtylyov <sergei.shtylyov@...entembedded.com>
To: Dan Carpenter <dan.carpenter@...cle.com>
Cc: "David S. Miller" <davem@...emloft.net>,
Kazuya Mizuguchi <kazuya.mizuguchi.ks@...esas.com>,
Simon Horman <horms+renesas@...ge.net.au>,
Yoshihiro Kaneko <ykaneko0929@...il.com>,
Masaru Nagai <masaru.nagai.vx@...esas.com>,
Geert Uytterhoeven <geert+renesas@...der.be>,
Niklas Söderlund
<niklas.soderlund+renesas@...natech.se>,
Philippe Reynes <tremyfr@...il.com>, netdev@...r.kernel.org,
linux-renesas-soc@...r.kernel.org, kernel-janitors@...r.kernel.org
Subject: Re: [PATCH net] ravb: Double free on error in ravb_start_xmit()
Hello!
On 04/22/2017 01:46 PM, Dan Carpenter wrote:
> If skb_put_padto() fails then it frees the skb. I shifted that code
> up a bit to make my error handling a little simpler.
>
> Fixes: a0d2f20650e8 ("Renesas Ethernet AVB PTP clock driver")
> Signed-off-by: Dan Carpenter <dan.carpenter@...cle.com>
Acked-by: Sergei Shtylyov <sergei.shtylyov@...entembedded.com>
MBR, Sergei
Powered by blists - more mailing lists