From: Sven Eckelmann Date: Sat, 4 Sep 2010 23:58:26 +0000 (+0200) Subject: Staging: batman-adv: Directly prepare icmp packets in socket buffer X-Git-Tag: v2.6.37-rc1~60^2~3^2~697 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d52e90aeaf93d62cc1a7f9a8a9f3a6f68c475cf5;p=pandora-kernel.git Staging: batman-adv: Directly prepare icmp packets in socket buffer It is unnecessary to generate an icmp packet in an extra memory region and than copying it to a new allocated skb. This also resolved the problem that we do inform the user that we couldn't send the packet because we couldn't allocate the socket buffer. Signed-off-by: Sven Eckelmann Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed