commit | 6dbda2d00d466225f9db1dc695ff852443f28832 | [log] [tgz] |
---|---|---|
author | Johannes Berg <johannes.berg@intel.com> | Fri Oct 26 00:41:23 2012 +0200 |
committer | Johannes Berg <johannes.berg@intel.com> | Fri Oct 26 22:52:42 2012 +0200 |
tree | 5a6df085d68670cbe478ab3cbed56e66fbd5bb24 | |
parent | 9b395bc3be1cebf0144a127c7e67d56dbdac0930 [diff] |
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>