• Alexander Aring's avatar
    mac802154: remove mib lock · c947f7e1
    Alexander Aring authored
    This patch removes the mib lock. The new locking mechanism is to protect
    the mib values with the rtnl lock. Note that this isn't always necessary
    if we have an interface up the most mib values are readonly (e.g.
    address settings). With this behaviour we can remove locking in
    hotpath like frame parsing completely. It depends on context if we need
    to hold the rtnl lock or not, this makes the callbacks of
    ieee802154_mlme_ops unnecessary because these callbacks hols always the
    locks.
    Signed-off-by: default avatarAlexander Aring <alex.aring@gmail.com>
    Reviewed-by: default avatarStefan Schmidt <stefan@osg.samsung.com>
    Signed-off-by: default avatarMarcel Holtmann <marcel@holtmann.org>
    c947f7e1
core.c 7.5 KB