commit | aedbffc7774574de74563f350b363cbfb52984fd | [log] [tgz] |
---|---|---|
author | Sven Eckelmann <sven.eckelmann@gmx.de> | Sun Sep 05 01:58:32 2010 +0200 |
committer | Greg Kroah-Hartman <gregkh@suse.de> | Sun Sep 05 00:29:48 2010 -0700 |
tree | 20ef515ff41eaad27d9271182d79a9c434db3483 | |
parent | b411d498eeed97ed14a42abeffac2012dd10d971 [diff] |
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 <sven.eckelmann@gmx.de> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>