diff options
| author | Lennert Buytenhek <[email protected]> | 2015-05-26 15:06:10 +0300 |
|---|---|---|
| committer | Marcel Holtmann <[email protected]> | 2015-05-26 18:03:01 +0200 |
| commit | e34fd879f5516496c7241c9c2caf3a108295a30c (patch) | |
| tree | 2c543fe67e4d3ef3d8a93bf00df71035f959f7bc /tools/perf/scripts/python/export-to-postgresql.py | |
| parent | f72186d22aad44100e2dd17ccdcf13c4418ec3cb (diff) | |
mac802154: Avoid rtnl deadlock in mac802154_wpan_ioctl().
->ndo_do_ioctl() can be entered with the rtnl lock already held,
for example when sending a wext ioctl to a device (in which case
the rtnl lock is taken by wext_ioctl_dispatch()), but
mac802154_wpan_ioctl() currently unconditionally takes the rtnl
lock on entry, which can cause deadlocks.
To fix this, bail out of mac802154_wpan_ioctl() before taking the
rtnl lock if the ioctl cmd is not one of the cmds we implement.
Signed-off-by: Lennert Buytenhek <[email protected]>
Acked-by: Alexander Aring <[email protected]>
Signed-off-by: Marcel Holtmann <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions