From: Sven Eckelmann Date: Sat, 4 Sep 2010 23:58:32 +0000 (+0200) Subject: Staging: batman-adv: Create copy of skb with pre-allocated headroom X-Git-Tag: v2.6.37-rc1~60^2~3^2~691 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=aedbffc7774574de74563f350b363cbfb52984fd;p=pandora-kernel.git Staging: batman-adv: Create copy of skb with pre-allocated headroom We can use skb_cow instead of a handwritten function to test and create a writable skb buffer. This also allows us to pre-allocate headroom to be able to send the data without re-allocating the buffer again to add the ethernet header. Signed-off-by: Sven Eckelmann Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed