summaryrefslogtreecommitdiffstats
path: root/net/packet/af_packet.c
diff options
context:
space:
mode:
authorVlad Yasevich2013-11-26 18:37:12 +0100
committerDavid S. Miller2013-11-29 22:07:08 +0100
commit006da7b07bc4d3a7ffabad17cf639eec6849c9dc (patch)
tree05d54631c14c7b6d3c02acc0e6296145949c88cb /net/packet/af_packet.c
parentbe2net: call napi_disable() for all event queues (diff)
downloadkernel-qcow2-linux-006da7b07bc4d3a7ffabad17cf639eec6849c9dc.tar.gz
kernel-qcow2-linux-006da7b07bc4d3a7ffabad17cf639eec6849c9dc.tar.xz
kernel-qcow2-linux-006da7b07bc4d3a7ffabad17cf639eec6849c9dc.zip
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 <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>
Diffstat (limited to 'net/packet/af_packet.c')
0 files changed, 0 insertions, 0 deletions