From: Alexander Duyck Date: Thu, 3 May 2012 01:09:42 +0000 (+0000) Subject: skb: Add skb_head_is_locked helper function X-Git-Tag: v3.5-rc1~109^2~181 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3a7c1ee4ab89f9250b8f82656a7be0ae14aa3691;p=pandora-kernel.git skb: Add skb_head_is_locked helper function This patch adds support for a skb_head_is_locked helper function. It is meant to be used any time we are considering transferring the head from skb->head to a paged frag. If the head is locked it means we cannot remove the head from the skb so it must be copied or we must take the skb as a whole. Signed-off-by: Alexander Duyck Acked-by: Eric Dumazet Signed-off-by: David S. Miller --- Reading git-diff-tree failed