bridging: fix rx_handlers return code
authorCristian Bercaru <B43982@freescale.com>
Fri, 8 Mar 2013 07:03:38 +0000 (07:03 +0000)
committerDavid S. Miller <davem@davemloft.net>
Fri, 8 Mar 2013 17:19:59 +0000 (12:19 -0500)
commit3bc1b1add7a8484cc4a261c3e128dbe1528ce01f
treecfe45cd4e2280b0cf84053b5f3838d9076f5b878
parenta6a8fe950e1b8596bb06f2c89c3a1a4bf2011ba9
bridging: fix rx_handlers return code

The frames for which rx_handlers return RX_HANDLER_CONSUMED are no longer
counted as dropped. They are counted as successfully received by
'netif_receive_skb'.

This allows network interface drivers to correctly update their RX-OK and
RX-DRP counters based on the result of 'netif_receive_skb'.

Signed-off-by: Cristian Bercaru <B43982@freescale.com>
Signed-off-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/core/dev.c