aboutsummaryrefslogtreecommitdiff
path: root/net/unix/af_unix.c
diff options
context:
space:
mode:
authorVlad Yasevich <vyasevic@redhat.com>2013-11-26 12:37:12 -0500
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2014-01-15 15:27:10 -0800
commitb4c3eac4fe4e12260614f5d724a3ab8ce21e486a (patch)
tree8f6f48ddb4eb854a73b4783e3b575abf9d9b8daf /net/unix/af_unix.c
parent468c82ca655147afc38382e2a184df6c026d2ec5 (diff)
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 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions