The adjustment of the check inverted the logic. Fix this.
Sponsored by: The FreeBSD Foundation
MFC after: 3 days
Fixes: 9763fec11b83
Reported by: KUROSAWA Takahiro (takahiro.kurosawa gmail.com) in D48980
Differential D49234
net80211: Fix IEEE80211_KEY_UNDEFINED() in ieee80211_node_delucastkey() bz on Wed, Mar 5, 12:06 AM. Authored by Tags None Referenced Files
Details
The adjustment of the check inverted the logic. Fix this. Sponsored by: The FreeBSD Foundation
Diff Detail
Event TimelineComment Actions Thanks for fixing! Comment Actions I just hit this with key referencing and running this patch locally fixed it. bz, wanna land it? Thanks! Comment Actions Yes, I will; I was AFK today. How do you notice? If you say you hit it. Do we log an error? STA or AP mode? Comment Actions Amusingly whilst debugging the ccmp/gcmp stuff. When I went to unload the ccmp module it complained about the reference count being wrong, even though I had deleted the vap (so any keys should have been deleted.) Comment Actions Interesting. I'll need more reading on key updates. We should be able to detect that case at run time failing as well I suppose. Wireless was so simple 25 years ago ... |