ixgbe: Make pull tail function separate from rest of cleanup_headers
authorAlexander Duyck <alexander.h.duyck@intel.com>
Fri, 20 Jul 2012 08:08:33 +0000 (08:08 +0000)
committerPeter P Waskiewicz Jr <peter.p.waskiewicz.jr@intel.com>
Thu, 16 Aug 2012 22:44:35 +0000 (15:44 -0700)
commit19861ce24f2ea9d9db7b96814de9ca8d522cbe40
treeab49d60129ec0d28ce2e601173317c4f0b102284
parent42073d91a214587717c36a697436bad0f60c4384
ixgbe: Make pull tail function separate from rest of cleanup_headers

This change creates a separate function for functionality similar to
pskb_pull_tail.  The main motivation for moving it to a separate function
is so that later I can just skip this function in the case where we have
already copied the buffer into skb->head.

Signed-off-by: Alexander Duyck <alexander.h.duyck@intel.com>
Tested-by: Phil Schmitt <phillip.j.schmitt@intel.com>
Signed-off-by: Peter P Waskiewicz Jr <peter.p.waskiewicz.jr@intel.com>
drivers/net/ethernet/intel/ixgbe/ixgbe_main.c