diff options
author | Andy Fleming <afleming@freescale.com> | 2011-10-13 00:33:54 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2011-10-19 15:59:45 -0400 |
commit | 3d153a7c8b23031df35e61377c0600a6c96a8b0b (patch) | |
tree | f5c7f622331728ba12f40c2ebb66666ce3d924fd /drivers/net/phy/vitesse.c | |
parent | 1e5c22cde3b85737921d3ec6ecf2c356e5b64ea7 (diff) |
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/vitesse.c')
0 files changed, 0 insertions, 0 deletions