Message ID | 20201115174131.2089251-4-mkl@pengutronix.de |
---|---|
State | New |
Headers | show |
Series | [net,01/15] can: af_can: prevent potential access of uninitialized member in can_rcv() | expand |
diff --git a/drivers/net/can/dev.c b/drivers/net/can/dev.c index 6dee4f8f2024..81e39d7507d8 100644 --- a/drivers/net/can/dev.c +++ b/drivers/net/can/dev.c @@ -592,7 +592,7 @@ static void can_restart(struct net_device *dev) cf->can_id |= CAN_ERR_RESTARTED; - netif_rx(skb); + netif_rx_ni(skb); stats->rx_packets++; stats->rx_bytes += cf->can_dlc;