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-05-16 15:23:40 -07:00
2006-05-26 13:25:24 -07:00
2006-05-05 17:09:13 -07:00
2006-05-03 23:36:23 -07:00
2006-03-20 22:33:17 -08:00
2005-08-29 15:31:14 -07:00
2006-05-22 16:53:22 -07:00
2006-02-07 01:47:12 -05:00
2006-01-12 14:06:31 -08:00
2006-05-01 06:06:10 -04:00
2005-04-16 15:20:36 -07:00