summaryrefslogtreecommitdiff
path: root/block
diff options
context:
space:
mode:
authorVlad Yasevich <vyasevic@redhat.com>2013-11-26 17:37:12 (GMT)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2014-01-15 23:31:33 (GMT)
commit0f1d447d2b8d8fd2eac2dd2af4c56906056d4816 (patch)
treef1e84d3893cefc4ed927affec75f8a88e20a92ba /block
parentd61523f614056d4e7fa35853f0eae919103861a0 (diff)
downloadlinux-fsl-qoriq-0f1d447d2b8d8fd2eac2dd2af4c56906056d4816.tar.xz
macvtap: Do not double-count received packets
[ Upstream commit 006da7b07bc4d3a7ffabad17cf639eec6849c9dc ] 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 <vyasevic@redhat.com> Acked-by: Michael S. Tsirkin <mst@redhat.com> Acked-by: Jason Wang <jasowang@redhat.com> Signed-off-by: David S. Miller <davem@davemloft.net> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'block')
0 files changed, 0 insertions, 0 deletions