mbox series

[net,v3,0/2] fix some issues in netdevsim driver

Message ID 20221026014642.116261-1-shaozhengchao@huawei.com (mailing list archive)
Headers show
Series fix some issues in netdevsim driver | expand

Message

shaozhengchao Oct. 26, 2022, 1:46 a.m. UTC
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(-)

Comments

patchwork-bot+netdevbpf@kernel.org Oct. 27, 2022, 6 p.m. UTC | #1
Hello:

This series was applied to netdev/net.git (master)
by Jakub Kicinski <kuba@kernel.org>:

On Wed, 26 Oct 2022 09:46:40 +0800 you wrote:
> 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
> 
> [...]

Here is the summary with links:
  - [net,v3,1/2] netdevsim: fix memory leak in nsim_drv_probe() when nsim_dev_resources_register() failed
    https://git.kernel.org/netdev/net/c/6b1da9f7126f
  - [net,v3,2/2] netdevsim: remove dir in nsim_dev_debugfs_init() when creating ports dir failed
    https://git.kernel.org/netdev/net/c/a6aa8d0ce2cf

You are awesome, thank you!