From: Herbert Xu Date: Sun, 14 Oct 2007 07:37:30 +0000 (-0700) Subject: [SKBUFF]: Merge common code between copy_skb_header and skb_clone X-Git-Tag: v2.6.24-rc1~1277^2~41 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=dec18810c52ed564c1aedc7f93dbf278b7fdf6d5;p=pandora-kernel.git [SKBUFF]: Merge common code between copy_skb_header and skb_clone This patch creates a new function __copy_skb_header to merge the common code between copy_skb_header and skb_clone. Having two functions which are largely the same is a source of wasted labour as well as confusion. In fact the tc_verd stuff is almost certainly a bug since it's treated differently in skb_clone compared to the callers of copy_skb_header (skb_copy/pskb_copy/skb_copy_expand). I've kept that difference in tact with a comment added asking for clarification. Signed-off-by: Herbert Xu Signed-off-by: David S. Miller --- Reading git-diff-tree failed