From: Harvey Harrison Date: Wed, 16 Jul 2008 01:44:05 +0000 (-0700) Subject: mac80211: explicitly check skb->len X-Git-Tag: v2.6.28-rc1~717^2~452 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=62bf1d762e24006fa9b6c8d56a22cf47a2310af3;p=pandora-kernel.git mac80211: explicitly check skb->len ieee80211_get_hdrlen_from_skb internally checks the skb is long enough to hold the full ieee80211_hdr, else it returns zero. Use ieee80211_hdrlen which always returns the hdrlen and check the remaining room in the skb explicitly when removing encryption headers or the qos control field. Signed-off-by: Harvey Harrison Signed-off-by: John W. Linville --- Reading git-diff-tree failed