From: Johannes Berg Date: Thu, 13 Nov 2014 10:06:43 +0000 (+0100) Subject: iwlwifi: mvm: pull SNAP header into skb->head X-Git-Tag: omap-for-v3.20/drop-legacy-3517~122^2~28^2~58^2~35 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3771a89022bc4aa56bca5e7d3f34eee46ebedfdb;p=pandora-kernel.git iwlwifi: mvm: pull SNAP header into skb->head When we pre-populate the skb->head for the stack, we only pull in the 802.11 header including crypto (assuming the packet isn't short enough to be in there completely.) This is fine, but in ieee80211_data_to_8023() we later unconditionally pull 8 more bytes for the SNAP header and ethertype field (except for mesh or 4-addr, where it's even more, but we don't care as much about them). Avoid the additional later pull by pulling in those 8 bytes here. Signed-off-by: Johannes Berg Reviewed-by: IdoX Yariv Signed-off-by: Emmanuel Grumbach --- Reading git-diff-tree failed