Johannes Berg d8ca16db6b mac80211: add length check in ieee80211_is_robust_mgmt_frame()
A few places weren't checking that the frame passed to the
function actually has enough data even though the function
clearly documents it must have a payload byte. Make this
safer by changing the function to take an skb and checking
the length inside. The old version is preserved for now as
the rtl* drivers use it and don't have a correct skb.

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
2014-02-04 21:58:07 +01:00
..
2013-12-18 10:33:06 +01:00
2013-12-18 10:33:06 +01:00
2013-12-16 11:29:48 +01:00
2013-12-16 11:29:48 +01:00
2013-02-04 18:57:47 +01:00
2013-12-16 11:29:45 +01:00
2014-02-04 21:48:21 +01:00
2013-12-02 11:51:50 +01:00
2013-12-18 10:33:06 +01:00
2012-06-24 11:33:18 +02:00
2012-03-13 14:54:16 -04:00
2013-12-19 16:30:58 +01:00
2012-06-20 17:35:22 +02:00