aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorSimon Wunderlich <[email protected]>2011-11-07 13:57:48 +0100
committerSven Eckelmann <[email protected]>2011-11-20 13:08:37 +0100
commit06ba7ce223045369cb5459f95e6c27e708938cf4 (patch)
tree399a4f37dbbdcfd8bf9a00d915f86c2c290d7797 /tools/perf/scripts/python
parent80b3f58cf416770ae89b30734d252d641a56d289 (diff)
batman-adv: use unregister_netdevice() when softif_create fails
When entering softif_create(), the rtnl lock has already been acquired by store_mesh_iface(). (store_mesh_iface() -> hardif_enable_interface() -> softif_create) In case of an error, we should therefore call unregister_netdevice() instead of unregister_netdev(). unregister_netdev() tries to acquire the rtnl lock itself and deadlocks in this situation. unregister_netdevice() assumes that the rtnl lock is already been held. Signed-off-by: Simon Wunderlich <[email protected]> Signed-off-by: Sven Eckelmann <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions