From: Sven Eckelmann Date: Sat, 4 Sep 2010 23:58:31 +0000 (+0200) Subject: Staging: batman-adv: Prepare vis packets directly inside a skb X-Git-Tag: v2.6.37-rc1~60^2~3^2~692 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b411d498eeed97ed14a42abeffac2012dd10d971;p=pandora-kernel.git Staging: batman-adv: Prepare vis packets directly inside a skb The vis information structure is used in a way that it can be transfered directly as packet. It still had to be copied into a skb because of an extra buffer used for the actual preparation of the data. This is unnecessary and can be replaced by a simple clone instead of an full copy before each send. This makes also the send_raw_packet function obsolete. Reported-by: David S. Miller Signed-off-by: Sven Eckelmann Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed