diff options
author | 2022-10-26 09:46:42 +0800 | |
---|---|---|
committer | 2022-10-27 10:47:29 -0700 | |
commit | a6aa8d0ce2cfba57ac0f23293fcb3be0b9f53fba (patch) | |
tree | 7078a8364f64a5652277d3d7a0c8daaf013d632d /tools/perf/scripts/python/export-to-postgresql.py | |
parent | netdevsim: fix memory leak in nsim_drv_probe() when nsim_dev_resources_register() failed (diff) | |
download | linux-dev-a6aa8d0ce2cfba57ac0f23293fcb3be0b9f53fba.tar.xz linux-dev-a6aa8d0ce2cfba57ac0f23293fcb3be0b9f53fba.zip |
netdevsim: remove dir in nsim_dev_debugfs_init() when creating ports dir failed
Remove dir in nsim_dev_debugfs_init() when creating ports dir failed.
Otherwise, the netdevsim device will not be created next time. Kernel
reports an error: debugfs: Directory 'netdevsim1' with parent 'netdevsim'
already present!
Fixes: ab1d0cc004d7 ("netdevsim: change debugfs tree topology")
Signed-off-by: Zhengchao Shao <shaozhengchao@huawei.com>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions