commit | ef100682814c429709f0904b757595e25019cb31 | [log] [tgz] |
---|---|---|
author | Johannes Berg <johannes.berg@intel.com> | Thu Oct 27 14:45:02 2011 +0200 |
committer | John W. Linville <linville@tuxdriver.com> | Wed Nov 09 16:00:59 2011 -0500 |
tree | 60afaeb0de107b24430f870bd626c691e983a216 | |
parent | c74d084f914e16e42730bcf625ab3f37a4cae8d4 [diff] |
cfg80211: annotate cfg80211_inform_bss This function returns a referenced BSS struct (or NULL), annotate with __must_check. It seems that a lot of drivers get this completely wrong and leak all BSS structs as a result. Reported-by: Adam Mikuta <Adam.Mikuta@tieto.com> Signed-off-by: Johannes Berg <johannes.berg@intel.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>