Thread (3 messages) flat view 3 messages, 3 authors, 2021-09-15

Re: [PATCH net-next] net: wwan: iosm: fix memory leak in ipc_devlink_create_region()

From: Jakub Kicinski <kuba@kernel.org>
Date: 2021-09-15 19:58:19
Also in: kernel-janitors

On Wed, 15 Sep 2021 11:05:42 +0000 Kumar, M Chetan wrote:
quoted
This doesn't free the first region in devlink->cd_regions[0] so it's a memory
leak.

Fixes: 13bb8429ca98 ("net: wwan: iosm: firmware flashing and coredump
collection")
Signed-off-by: Dan Carpenter <redacted>
---
 drivers/net/wwan/iosm/iosm_ipc_devlink.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)  
Reviewed-by: M Chetan Kumar <redacted>
I'll toss this from patchwork because I'm going to post a revert 
of the entire patch.

The abuse of devlink params for configuring flashing process is
unacceptable.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help