From: Oliver Hartkopp Date: Tue, 6 Jan 2009 19:07:54 +0000 (-0800) Subject: can: omit unneeded skb_clone() calls X-Git-Tag: v2.6.29-rc1~45^2~71 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1fa17d4ba43d7e5aab5e90777b07da06524f6748;p=pandora-kernel.git can: omit unneeded skb_clone() calls The AF_CAN core delivered always cloned sk_buffs to the AF_CAN protocols, although this was _only_ needed by the can-raw protocol. With this (additionally documented) change, the AF_CAN core calls the callback functions of the registered AF_CAN protocols with the original (uncloned) sk_buff pointer and let's the can-raw protocol do the skb_clone() itself which omits all unneeded skb_clone() calls for other AF_CAN protocols. Signed-off-by: Oliver Hartkopp Signed-off-by: Urs Thuermann Signed-off-by: David S. Miller --- Reading git-diff-tree failed