]> git.openfabrics.org - ~emulex/infiniband.git/commit
cfg80211: annotate cfg80211_inform_bss
authorJohannes Berg <johannes.berg@intel.com>
Thu, 27 Oct 2011 12:45:02 +0000 (14:45 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Wed, 9 Nov 2011 21:00:59 +0000 (16:00 -0500)
commitef100682814c429709f0904b757595e25019cb31
tree60afaeb0de107b24430f870bd626c691e983a216
parentc74d084f914e16e42730bcf625ab3f37a4cae8d4
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>
include/net/cfg80211.h