From: Vlad Yasevich Date: Tue, 26 Nov 2013 17:37:12 +0000 (-0500) Subject: macvtap: Do not double-count received packets X-Git-Tag: v3.13-rc3~28^2~24 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=006da7b07bc4d3a7ffabad17cf639eec6849c9dc;p=pandora-kernel.git macvtap: Do not double-count received packets Currently macvlan will count received packets after calling each vlans receive handler. Macvtap attempts to count the packet yet again when the user reads the packet from the tap socket. This code doesn't do this consistently either. Remove the counting from macvtap and let only macvlan count received packets. Signed-off-by: Vlad Yasevich Acked-by: Michael S. Tsirkin Acked-by: Jason Wang Signed-off-by: David S. Miller --- Reading git-diff-tree failed