can: kvaser_usb: Increase correct stats counter in kvaser_usb_rx_can_msg()
authorJimmy Assarsson <extja@kvaser.com>
Fri, 20 Apr 2018 12:38:46 +0000 (14:38 +0200)
committerMarc Kleine-Budde <mkl@pengutronix.de>
Tue, 8 May 2018 08:41:38 +0000 (10:41 +0200)
commit6ee00865ffe4e8c8ba4a68d26db53c7ec09bbb89
treed85f3e9348c585aadde20422449e0cb1dac80840
parent9a62dcf486c10daf5366f29df1c799f69b1510f9
can: kvaser_usb: Increase correct stats counter in kvaser_usb_rx_can_msg()

Increase rx_dropped, if alloc_can_skb() fails, not tx_dropped.

Signed-off-by: Jimmy Assarsson <extja@kvaser.com>
Cc: linux-stable <stable@vger.kernel.org>
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
drivers/net/can/usb/kvaser_usb.c