From: Sven Eckelmann Date: Tue, 20 Jul 2010 22:25:20 +0000 (+0200) Subject: Staging: batman-adv: Don't increment stats of foreign device X-Git-Tag: v2.6.36-rc1~520^2~1^2~115 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a1a38cad4c71bc08403b204fbe0ba98b4447f8bf;p=pandora-kernel.git Staging: batman-adv: Don't increment stats of foreign device The receive hook for batman-adv ethernet frames tried to get the last device which processed the skb before us. It only used that information to update the rx_bytes and rx_packets stat of that foreign device which already has updated it using its own receive functions. Signed-off-by: Sven Eckelmann Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed