linux_dsm_epyc7002/drivers/net/wireless/intel
Johannes Berg 5cddd05c9c iwlwifi: mvm: fix RX SKB header size and align it properly
When receiving a frame, we currently pull in sizeof(*hdr) plus
some extra (crypto/snap), which is too much, most headers aren't
actually sizeof(*hdr) since that takes into account the 4-address
format but doesn't take into account QoS. As a result, a typical
frame will have 4 bytes of the payload in the SKB header already.

Fix this by calculating the correct header length, and now that
we have that, align the end of the SKB header to a multiple of 4
so that the IP header will be aligned properly when pulled in.

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
2017-04-11 14:54:33 +03:00
..
ipw2x00 ipw2200: remove redundant check of rc < 0 2017-03-20 19:16:24 +02:00
iwlegacy lib/vsprintf.c: remove %Z support 2017-02-27 18:43:47 -08:00
iwlwifi iwlwifi: mvm: fix RX SKB header size and align it properly 2017-04-11 14:54:33 +03:00
Kconfig
Makefile