From: Andy Fleming Date: Thu, 13 Oct 2011 04:33:54 +0000 (+0000) Subject: net: Allow skb_recycle_check to be done in stages X-Git-Tag: v3.2-rc1~182^2~70 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3d153a7c8b23031df35e61377c0600a6c96a8b0b;p=pandora-kernel.git 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 Acked-by: David Daney Signed-off-by: David S. Miller --- Reading git-diff-tree failed