From: Johannes Berg Date: Thu, 25 Oct 2012 22:41:23 +0000 (+0200) Subject: mac80211: make sure data is accessible in EAPOL check X-Git-Tag: v3.2.34~52 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0884603402e58608f62f17306aedb33b862d7b6d;p=pandora-kernel.git mac80211: make sure data is accessible in EAPOL check commit 6dbda2d00d466225f9db1dc695ff852443f28832 upstream. 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. Signed-off-by: Johannes Berg Signed-off-by: Ben Hutchings --- Reading git-diff-tree failed