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)
commit2b294b18689c6b68f631535acbcdb6c8e6fa11cf
treefa2e992770128bf82bc76417c4315e14f28dd0e8
parent2037110c96d5f1dd71453fcd0d54e79be12a352b
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