]> git.baikalelectronics.ru Git - kernel.git/commit
net: mediatek: dropped rx packets are not being counted properly
authorJohn Crispin <john@phrozen.org>
Fri, 10 Jun 2016 11:28:01 +0000 (13:28 +0200)
committerDavid S. Miller <davem@davemloft.net>
Sat, 11 Jun 2016 06:29:29 +0000 (23:29 -0700)
commit33366e93bca3ef9c34e184f27a2b1b50fb13b27e
tree3ebe879aa582845b72a7b750b5e1cf05df82642b
parentda76696a530d8f12058063837747622cae5c258c
net: mediatek: dropped rx packets are not being counted properly

There are two places inside mtk_poll_rx where rx_dropped is not being
incremented properly. Fix this by adding the missing code to increment
the counter.

Signed-off-by: John Crispin <john@phrozen.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/mediatek/mtk_eth_soc.c