macvtap: fix tx_dropped counting error
authorJason Wang <jasowang@redhat.com>
Mon, 25 Nov 2013 09:19:04 +0000 (17:19 +0800)
committerDavid S. Miller <davem@davemloft.net>
Thu, 28 Nov 2013 23:32:22 +0000 (18:32 -0500)
After commit 8ffab51b3dfc54876f145f15b351c41f3f703195
(macvlan: lockless tx path), tx stat counter were converted to percpu stat
structure. So we need use to this also for tx_dropped in macvtap. Otherwise, the
management won't notice the dropping packet in macvtap tx path.

Cc: Michael S. Tsirkin <mst@redhat.com>
Cc: Vlad Yasevich <vyasevic@redhat.com>
Cc: Eric Dumazet <edumazet@google.com>
Signed-off-by: Jason Wang <jasowang@redhat.com>
Acked-by: Michael S. Tsirkin <mst@redhat.com>
Acked-by: Vlad Yasevich <vyasevic@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>

No differences found