Hi Lennert, > ->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 <buytenh@xxxxxxxxxxxxxx> > Acked-by: Alexander Aring <alex.aring@xxxxxxxxx> > --- > net/mac802154/iface.c | 3 +++ > 1 file changed, 3 insertions(+) patch has been applied to bluetooth-next tree. Regards Marcel -- To unsubscribe from this list: send the line "unsubscribe linux-wpan" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html