summaryrefslogtreecommitdiffstats
path: root/drivers/net/ifb.c
diff options
context:
space:
mode:
authorSowmini Varadhan <sowmini.varadhan@oracle.com>2014-07-16 10:02:26 -0400
committerDavid S. Miller <davem@davemloft.net>2014-07-16 22:44:07 -0700
commita4b70a07ed12a71131cab7adce2ce91c71b37060 (patch)
tree24ac5cfb9dc7db82254914b4f27e581be4a09b35 /drivers/net/ifb.c
parent7a9810e7bd99c922d9cedf64dbaa5ef6be412295 (diff)
downloadtalos-obmc-linux-a4b70a07ed12a71131cab7adce2ce91c71b37060.tar.gz
talos-obmc-linux-a4b70a07ed12a71131cab7adce2ce91c71b37060.zip
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 <sowmini.varadhan@oracle.com> Acked-by: Dave Kleikamp <dave.kleikamp@oracle.com> Reviewed-by: Karl Volz <karl.volz@oracle.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ifb.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud