linux/drivers/net/ethernet/intel/igb
Alexander Duyck f9d40f6a99 igb: Revert support for build_skb in igb
This patch actually reverts:
igb: Support using build_skb in the case that jumbo frames are disabled

The reason for reverting this patch is that it can lead to data corruption.
The following flow was pointed out by Ben Hutchings:

1. skb is forwarded to another device
2. Packet headers are modified and it's put into a queue
3. Second packet is received into the other half of this page
4. Page cannot be reused, so is DMA-unmapped
5. The DMA mapping was non-coherent, so unmap copies or invalidates
cache

The headers added in step 2 get trashed in step 5.

Reported-by: Ben Hutchings <bhutchings@solarflare.com>
Signed-off-by: Alexander Duyck <alexander.h.duyck@intel.com>
Tested-by: Aaron Brown <aaron.f.brown@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2013-04-18 14:52:18 -04:00
..
e1000_82575.c igb: fix i350 anti spoofing config 2013-03-26 02:47:50 -07:00
e1000_82575.h igb: Copyright string update to year 2013 2013-01-19 05:05:05 -08:00
e1000_defines.h igb: Copyright string update to year 2013 2013-01-19 05:05:05 -08:00
e1000_hw.h igb: Copyright string update to year 2013 2013-01-19 05:05:05 -08:00
e1000_i210.c igb: Copyright string update to year 2013 2013-01-19 05:05:05 -08:00
e1000_i210.h igb: Copyright string update to year 2013 2013-01-19 05:05:05 -08:00
e1000_mac.c igb: Copyright string update to year 2013 2013-01-19 05:05:05 -08:00
e1000_mac.h igb: Copyright string update to year 2013 2013-01-19 05:05:05 -08:00
e1000_mbx.c igb: Copyright string update to year 2013 2013-01-19 05:05:05 -08:00
e1000_mbx.h igb: Copyright string update to year 2013 2013-01-19 05:05:05 -08:00
e1000_nvm.c igb: Copyright string update to year 2013 2013-01-19 05:05:05 -08:00
e1000_nvm.h igb: Copyright string update to year 2013 2013-01-19 05:05:05 -08:00
e1000_phy.c igb: Copyright string update to year 2013 2013-01-19 05:05:05 -08:00
e1000_phy.h igb: Copyright string update to year 2013 2013-01-19 05:05:05 -08:00
e1000_regs.h igb: Copyright string update to year 2013 2013-01-19 05:05:05 -08:00
igb_ethtool.c igb: increase timeout for ethtool offline self-test 2013-02-15 21:46:54 -08:00
igb_hwmon.c igb: make sensor info static 2013-03-26 03:14:48 -07:00
igb_main.c igb: Revert support for build_skb in igb 2013-04-18 14:52:18 -04:00
igb_ptp.c igb: fix PHC stopping on max freq 2013-03-26 03:21:34 -07:00
igb.h igb: Revert support for build_skb in igb 2013-04-18 14:52:18 -04:00
Makefile igb: Copyright string update to year 2013 2013-01-19 05:05:05 -08:00