diff options
author | Sowmini Varadhan <[email protected]> | 2014-07-16 10:02:26 -0400 |
---|---|---|
committer | David S. Miller <[email protected]> | 2014-07-16 22:44:07 -0700 |
commit | a4b70a07ed12a71131cab7adce2ce91c71b37060 (patch) | |
tree | 24ac5cfb9dc7db82254914b4f27e581be4a09b35 /tools/perf/util/scripting-engines/trace-event-python.c | |
parent | 7a9810e7bd99c922d9cedf64dbaa5ef6be412295 (diff) |
sunvnet: clean up objects created in vnet_new() on vnet_exit()
Nothing cleans up the objects created by
vnet_new(), they are completely leaked.
vnet_exit(), after doing the vio_unregister_driver() to clean
up ports, should call a helper function that iterates over vnet_list
and cleans up those objects. This includes unregister_netdevice()
as well as free_netdev().
Signed-off-by: Sowmini Varadhan <[email protected]>
Acked-by: Dave Kleikamp <[email protected]>
Reviewed-by: Karl Volz <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions