aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin
diff options
context:
space:
mode:
authorSven Eckelmann <[email protected]>2010-05-22 17:48:45 +0200
committerGreg Kroah-Hartman <[email protected]>2010-06-04 13:38:55 -0700
commit20c8a44b7cd5e56b62898a87f620b3a7269eb898 (patch)
treee1c23699bb1d2d9036ae199cee09044aa2a95df5 /tools/perf/scripts/python/bin
parent5f411a90ee163801434775264b4f9932f1de9e4c (diff)
Staging: batman-adv: Call unregister_netdev on failures to get rtnl lock
We must call unregister_netdev when we couldn't initialise the batman-adv module and the soft_device was registered. There are two version of the function which we can use: * unregister_netdevice - removes device * unregister_netdev - takes rtnl semaphore and remove device We don't hold the semaphore in an error situation. So we must use unregister_netdev. Signed-off-by: Sven Eckelmann <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions