• Johannes Berg's avatar
    mac80211: batch key free synchronize_net() · 6d10e46b
    Johannes Berg authored
    Instead of calling synchronize_net() for every key
    on an interface or when a station is removed, do it
    only once for all keys in both of these cases.
    
    As a side-effect, removing station keys now always
    calls synchronize_net() even if there are no keys,
    which fixes an issue with station removal happening
    in the driver while the station could still be used
    for TX.
    Signed-off-by: default avatarJohannes Berg <johannes.berg@intel.com>
    6d10e46b
key.c 19.8 KB