linux/drivers/net/ethernet/intel
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 e1000: ethtool: Add missing dma_mapping_error-call in e1000_setup_desc_rings 2013-03-27 02:32:27 -07:00
e1000e e1000e: Add missing dma_mapping_error-call in e1000_alloc_jumbo_rx_buffers 2013-03-27 03:26:27 -07:00
igb igb: Revert support for build_skb in igb 2013-04-18 14:52:18 -04:00
igbvf igbvf: Make next_to_watch a pointer and adjust memory barriers to avoid races 2013-02-15 21:46:51 -08:00
ixgb ixgb: Add missing dma_mapping_error-call in ixgb_alloc_rx_buffers 2013-03-27 03:13:27 -07:00
ixgbe ixgbe: fix registration order of driver and DCA nofitication 2013-04-05 00:49:13 -04:00
ixgbevf ixgbevf: don't release the soft entries 2013-03-26 02:31:48 -07:00
e100.c e100: Add dma mapping error check 2013-04-10 15:25:15 -04:00
Kconfig Driver core patches for 3.9-rc1 2013-02-21 12:05:51 -08:00
Makefile