diff options
author | Cristian Bercaru <B43982@freescale.com> | 2013-03-08 07:03:38 +0000 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-03-20 12:58:54 -0700 |
commit | b8268476626db0dac71fad35da5532e32f6a879e (patch) | |
tree | 8f546b573368257b17c5f5866b2d2ab39837ecbe /net/bluetooth | |
parent | 6ae1c7c9e9da70544a23906e4433223a58bdec11 (diff) | |
download | lwn-b8268476626db0dac71fad35da5532e32f6a879e.tar.gz lwn-b8268476626db0dac71fad35da5532e32f6a879e.zip |
bridging: fix rx_handlers return code
[ Upstream commit 3bc1b1add7a8484cc4a261c3e128dbe1528ce01f ]
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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'net/bluetooth')
0 files changed, 0 insertions, 0 deletions