From: Sven Eckelmann Date: Fri, 7 May 2010 19:47:27 +0000 (+0200) Subject: Staging: batman-adv: Update pointer to ethhdr after skb_copy X-Git-Tag: v2.6.35-rc1~441^2^2~96 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=202cfe106012c3917543ed8792be1affc37f107b;p=pandora-kernel.git Staging: batman-adv: Update pointer to ethhdr after skb_copy We must ensure that all pointer to a socket buffer are updated when we copy a socket buffer and free our reference to the old one. Another part of the kernel could also free its reference which maybe removes the buffer completely. In that situation we would would feed wrong information to the routing algorithm after the memory area is written again by someone else. Signed-off-by: Sven Eckelmann Signed-off-by: Marek Lindner Signed-off-by: Andrew Lunn Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed