]> git.baikalelectronics.ru Git - kernel.git/commit
e1000: perform copybreak ahead of DMA unmap
authorFlorian Westphal <fw@strlen.de>
Wed, 3 Sep 2014 13:34:21 +0000 (13:34 +0000)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Fri, 12 Sep 2014 08:26:42 +0000 (01:26 -0700)
commit0f59212f58547a2cb99d7a4b7364e0384c1aefeb
treefa2e992770128bf82bc76417c4315e14f28dd0e8
parentca3bc415783a9af01400cba5884a4c99526a3dfa
e1000: perform copybreak ahead of DMA unmap

Currently we unmap the DMA range, then copy to new skb.
Change this so we can keep the mapping in case the data is copied.

Signed-off-by: Florian Westphal <fw@strlen.de>
Tested-by: Aaron Brown <aaron.f.brown@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/e1000/e1000_main.c