macvlan: Fix rx counters update in macvlan_handle_frame()
authorSridhar Samudrala <sri@us.ibm.com>
Tue, 27 Jul 2010 09:10:07 +0000 (09:10 +0000)
committerDavid S. Miller <davem@davemloft.net>
Wed, 28 Jul 2010 04:02:42 +0000 (21:02 -0700)
commitba01877f56c3244b21746d3f1537f7647ed97984
tree4ec17efb2261d933b5b1f4839a2ec03e8ca4f96f
parentbb7e95c8fd859922c6cf3ebbb3a8546007df1748
macvlan: Fix rx counters update in macvlan_handle_frame()

Fix macvlan_handle_frame() to update the rx counters based
on the return value of the vlan->receive call.

Updated the patch to not do any packet count drops when the interface
is down based on Herber'ts comments.

Signed-off-by: Sridhar Samudrala <sri@us.ibm.com>
Acked-by: Herbert Xu <herbert@gondor.apana.org.au>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/macvlan.c