summaryrefslogtreecommitdiffstats
path: root/drivers/net/phy
diff options
context:
space:
mode:
authorAndy Fleming2011-10-13 06:33:54 +0200
committerDavid S. Miller2011-10-19 21:59:45 +0200
commit3d153a7c8b23031df35e61377c0600a6c96a8b0b (patch)
treef5c7f622331728ba12f40c2ebb66666ce3d924fd /drivers/net/phy
parentmlx4_en: Updating driver version (diff)
downloadkernel-qcow2-linux-3d153a7c8b23031df35e61377c0600a6c96a8b0b.tar.gz
kernel-qcow2-linux-3d153a7c8b23031df35e61377c0600a6c96a8b0b.tar.xz
kernel-qcow2-linux-3d153a7c8b23031df35e61377c0600a6c96a8b0b.zip
net: Allow skb_recycle_check to be done in stages
skb_recycle_check resets the skb if it's eligible for recycling. However, there are times when a driver might want to optionally manipulate the skb data with the skb before resetting the skb, but after it has determined eligibility. We do this by splitting the eligibility check from the skb reset, creating two inline functions to accomplish that task. Signed-off-by: Andy Fleming <afleming@freescale.com> Acked-by: David Daney <david.daney@cavium.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/phy')
0 files changed, 0 insertions, 0 deletions