summaryrefslogtreecommitdiffstats
path: root/net/mac80211/cfg.c
diff options
context:
space:
mode:
authorJohannes Berg <johannes.berg@intel.com>2012-10-26 00:41:23 +0200
committerJohannes Berg <johannes.berg@intel.com>2012-10-26 22:52:42 +0200
commit6dbda2d00d466225f9db1dc695ff852443f28832 (patch)
tree5a6df085d68670cbe478ab3cbed56e66fbd5bb24 /net/mac80211/cfg.c
parentmac80211: verify that skb data is present (diff)
downloadlinux-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