[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAK8P3a2YAYvGKdP8ynFqvXprifXWQS6u7J9NZVuRbvqBZT=19w@mail.gmail.com>
Date: Wed, 14 Mar 2018 09:40:35 +0100
From: Arnd Bergmann <arnd@...db.de>
To: "Gustavo A. R. Silva" <gustavo@...eddedor.com>
Cc: "David S. Miller" <davem@...emloft.net>,
Wang Jian <jianjian.wang1@...il.com>,
Networking <netdev@...r.kernel.org>,
Linux Kernel Mailing List <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH] pktgen: Fix memory leak in pktgen_if_write
On Wed, Mar 14, 2018 at 9:07 AM, Gustavo A. R. Silva
<gustavo@...eddedor.com> wrote:
> _buf_ is an array and the one that must be freed is _tp_ instead.
>
> Fixes: a870a02cc963 ("pktgen: use dynamic allocation for debug print buffer")
> Reported-by: Wang Jian <jianjian.wang1@...il.com>
> Signed-off-by: Gustavo A. R. Silva <gustavo@...eddedor.com>
Acked-by: Arnd Bergmann <arnd@...db.de>
Thanks for fixing up my mistake so quickly, and thanks to Wang for the report
I was about to send the same patch, but you got there first.
Powered by blists - more mailing lists