fails,
> the function continues in order to do the stats handling.
>
> All access to the can_frame pointer (cf) should be guarded by an if
> statement:
> if (cf)
>
> [...]
Here is the summary with links:
- [net-next] can: etas_es58x: fix null pointer dereference when
From: Vincent Mailhol
During the handling of CAN bus errors, a CAN error SKB is allocated
using alloc_can_err_skb(). Even if the allocation of the SKB fails,
the function continues in order to do the stats handling.
All access to the can_frame pointer (cf) should be guarded by an if
statement: