OpenCloudOS-Kernel/drivers/net/netdevsim
Jakub Kicinski c259b4fb33 netdevsim: don't leak devlink resources
Devlink resources registered with devlink_resource_register() have
to be unregistered.

Fixes: 37923ed6b8 ("netdevsim: Add simple FIB resource controller via devlink")
Signed-off-by: Jakub Kicinski <jakub.kicinski@netronome.com>
Reviewed-by: Quentin Monnet <quentin.monnet@netronome.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2018-07-25 22:33:39 -07:00
..
Makefile netdevsim: Add simple FIB resource controller via devlink 2018-03-29 14:10:31 -04:00
bpf.c netdevsim: fix overflow on the error path 2018-02-01 11:22:51 +01:00
devlink.c netdevsim: don't leak devlink resources 2018-07-25 22:33:39 -07:00
fib.c netdevsim: Add extack error message for devlink reload 2018-06-05 12:32:37 -04:00
netdev.c netdevsim: Change nsim_devlink_setup to return error to caller 2018-03-31 22:22:10 -04:00
netdevsim.h netdevsim: Add extack error message for devlink reload 2018-06-05 12:32:37 -04:00