summaryrefslogtreecommitdiffstats
path: root/init
diff options
context:
space:
mode:
authorJiri Benc <jbenc@suse.cz>2006-06-06 01:39:34 +0200
committerDavid S. Miller <davem@davemloft.net>2006-06-06 01:39:34 +0200
commit36485707bbd9729e0c52315b173aeed9bc2303dd (patch)
tree78997f28e14702d058f90a8ba80a20abcead57d6 /init
parent[IRDA]: Missing allocation result check in irlap_change_speed(). (diff)
downloadlinux-36485707bbd9729e0c52315b173aeed9bc2303dd.tar.xz
linux-36485707bbd9729e0c52315b173aeed9bc2303dd.zip
[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>
Diffstat (limited to 'init')
0 files changed, 0 insertions, 0 deletions