commit | d52e90aeaf93d62cc1a7f9a8a9f3a6f68c475cf5 | [log] [tgz] |
---|---|---|
author | Sven Eckelmann <sven.eckelmann@gmx.de> | Sun Sep 05 01:58:26 2010 +0200 |
committer | Greg Kroah-Hartman <gregkh@suse.de> | Sun Sep 05 00:29:45 2010 -0700 |
tree | 6e6ea6e5dc01caad75f9ef69a1539a997f07ce5e | |
parent | e63760e59542ed872f7a5b1605a46e03b879d909 [diff] |
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 <sven.eckelmann@gmx.de> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>