diff options
author | Alexander Duyck <[email protected]> | 2013-04-17 20:41:04 +0000 |
---|---|---|
committer | David S. Miller <[email protected]> | 2013-04-18 14:52:18 -0400 |
commit | f9d40f6a9921cc7d9385f64362314054e22152bd (patch) | |
tree | 7b392dd69c8b7d6702d169a22b947f7803a220bb /lib/memory-notifier-error-inject.c | |
parent | 0fecd7504614b0bc98b79e31daffec040ec4e49f (diff) |
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 <[email protected]>
Signed-off-by: Alexander Duyck <[email protected]>
Tested-by: Aaron Brown <[email protected]>
Signed-off-by: Jeff Kirsher <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'lib/memory-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions