diff options
author | Johannes Berg <johannes.berg@intel.com> | 2012-10-26 00:41:23 +0200 |
---|---|---|
committer | Johannes Berg <johannes.berg@intel.com> | 2012-10-26 22:52:42 +0200 |
commit | 6dbda2d00d466225f9db1dc695ff852443f28832 (patch) | |
tree | 5a6df085d68670cbe478ab3cbed56e66fbd5bb24 /net/mac80211/cfg.c | |
parent | mac80211: verify that skb data is present (diff) | |
download | linux-6dbda2d00d466225f9db1dc695ff852443f28832.tar.xz linux-6dbda2d00d466225f9db1dc695ff852443f28832.zip |
mac80211: make sure data is accessible in EAPOL check
The code to allow EAPOL frames even when the station
isn't yet marked associated needs to check that the
incoming frame is long enough and due to paged RX it
also can't assume skb->data contains the right data,
it must use skb_copy_bits(). Fix this to avoid using
data that doesn't really exist.
Cc: stable@vger.kernel.org
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions