Thread (3 messages) 3 messages, 3 authors, 2018-03-14

Re: [PATCH] pktgen: Fix memory leak in pktgen_if_write

flat view

From: Arnd Bergmann <arnd@arndb.de>
Date: 2018-03-14 08:40:39
Also in: lkml

On Wed, Mar 14, 2018 at 9:07 AM, Gustavo A. R. Silva
[off-list ref] 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 <redacted>
Signed-off-by: Gustavo A. R. Silva <redacted>
Acked-by: Arnd Bergmann <arnd@arndb.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.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help