Staging: batman-adv: Don't increment stats of foreign device
authorSven Eckelmann <sven.eckelmann@gmx.de>
Tue, 20 Jul 2010 22:25:20 +0000 (00:25 +0200)
committerGreg Kroah-Hartman <gregkh@suse.de>
Thu, 22 Jul 2010 21:29:05 +0000 (14:29 -0700)
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 <sven.eckelmann@gmx.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>

No differences found