diff options
author | Johannes Berg <johannes.berg@intel.com> | 2014-11-13 13:06:43 +0300 |
---|---|---|
committer | Emmanuel Grumbach <emmanuel.grumbach@intel.com> | 2014-11-24 09:30:18 +0300 |
commit | 3771a89022bc4aa56bca5e7d3f34eee46ebedfdb (patch) | |
tree | 00722995adf28e5dc6df6ef76b833074fa528bf2 /drivers/oprofile/oprofile_stats.h | |
parent | eb96ccb138fccdedd76c773e476e4a6ce4b3c05c (diff) | |
download | linux-3771a89022bc4aa56bca5e7d3f34eee46ebedfdb.tar.xz |
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 <johannes.berg@intel.com>
Reviewed-by: IdoX Yariv <ido@wizery.com>
Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
Diffstat (limited to 'drivers/oprofile/oprofile_stats.h')
0 files changed, 0 insertions, 0 deletions