[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20180314.100244.2217493270868265936.davem@davemloft.net>
Date: Wed, 14 Mar 2018 10:02:44 -0400 (EDT)
From: David Miller <davem@...emloft.net>
To: gustavo@...eddedor.com
Cc: arnd@...db.de, jianjian.wang1@...il.com, netdev@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH] pktgen: Fix memory leak in pktgen_if_write
From: "Gustavo A. R. Silva" <gustavo@...eddedor.com>
Date: Wed, 14 Mar 2018 03:07:27 -0500
> _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>
Applied, thanks.
Powered by blists - more mailing lists