[lkml]   [2018]   [Mar]   [14]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [PATCH] pktgen: Fix memory leak in pktgen_if_write
On Wed, Mar 14, 2018 at 9:07 AM, Gustavo A. R. Silva
<> 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 <>
> Signed-off-by: Gustavo A. R. Silva <>

Acked-by: Arnd Bergmann <>

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.

 \ /
  Last update: 2018-03-14 09:41    [W:0.032 / U:2.552 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site