Jiri Benc 36485707bb [BRIDGE]: fix locking and memory leak in br_add_bridge
There are several bugs in error handling in br_add_bridge:
- when dev_alloc_name fails, allocated net_device is not freed
- unregister_netdev is called when rtnl lock is held
- free_netdev is called before netdev_run_todo has a chance to be run after
  unregistering net_device

Signed-off-by: Jiri Benc <jbenc@suse.cz>
Signed-off-by: Stephen Hemminger <shemminger@osdl.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
2006-06-05 16:39:34 -07:00
..
2006-01-11 18:42:14 -08:00
2005-04-16 15:20:36 -07:00
2006-03-20 22:56:38 -08:00
2005-04-16 15:20:36 -07:00
2006-05-23 15:20:25 -07:00
2005-04-16 15:20:36 -07:00