netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH net,v3 0/2] fix some issues in netdevsim driver
@ 2022-10-26  1:46 Zhengchao Shao
  2022-10-26  1:46 ` [PATCH net,v3 1/2] netdevsim: fix memory leak in nsim_drv_probe() when nsim_dev_resources_register() failed Zhengchao Shao
                   ` (2 more replies)
  0 siblings, 3 replies; 5+ messages in thread
From: Zhengchao Shao @ 2022-10-26  1:46 UTC (permalink / raw)
  To: netdev, kuba, davem, edumazet, pabeni
  Cc: dsa, jiri, weiyongjun1, yuehaibing, shaozhengchao

When strace tool is used to perform memory injection, memory leaks and
files not removed issues are found. Fix them.

Zhengchao Shao (2):
  netdevsim: fix memory leak in nsim_drv_probe() when
    nsim_dev_resources_register() failed
  netdevsim: remove dir in nsim_dev_debugfs_init() when creating ports
    dir failed

 drivers/net/netdevsim/dev.c | 31 ++++++++++++++++++++-----------
 1 file changed, 20 insertions(+), 11 deletions(-)

-- 
2.17.1


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2022-10-27 18:01 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-10-26  1:46 [PATCH net,v3 0/2] fix some issues in netdevsim driver Zhengchao Shao
2022-10-26  1:46 ` [PATCH net,v3 1/2] netdevsim: fix memory leak in nsim_drv_probe() when nsim_dev_resources_register() failed Zhengchao Shao
2022-10-27  3:36   ` Jakub Kicinski
2022-10-26  1:46 ` [PATCH net,v3 2/2] netdevsim: remove dir in nsim_dev_debugfs_init() when creating ports dir failed Zhengchao Shao
2022-10-27 18:00 ` [PATCH net,v3 0/2] fix some issues in netdevsim driver patchwork-bot+netdevbpf

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).