]> 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)
commita60735ef224e547850f6914afd8fc3297330b468
treefa2e992770128bf82bc76417c4315e14f28dd0e8
parented4bed7658e115623b1276835cdb07678df5e880
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