• Johannes Berg's avatar
    mac80211: fix station destruction problem · e64b3795
    Johannes Berg authored
    When a station w/o a key is destroyed, or when
    a driver submits work for a station and thereby
    references it again, it seems like potentially
    we could reference the station structure while
    it is being destroyed.
    
    Wait for an RCU grace period to elapse before
    finishing destroying the station after we have
    removed the station from the driver and from
    the hash table etc., even in the case where no
    key is associated with the station.
    
    Also, there's no point in deleting the plink
    timer here since it'll be properly deleted just
    a bit later.
    Signed-off-by: default avatarJohannes Berg <johannes@sipsolutions.net>
    Signed-off-by: default avatarJohn W. Linville <linville@tuxdriver.com>
    e64b3795
sta_info.c 25.5 KB