Re: [PATCH v3 3/3] net: dsa: sja1105: Check return value

From: Florian Fainelli
Date: Thu Dec 01 2022 - 16:02:08 EST




On 12/1/2022 6:00 AM, Artem Chernyshev wrote:
Return NULL if we got unexpected value from skb_trim_rcsum() in
sja1110_rcv_inband_control_extension()

Fixes: 4913b8ebf8a9 ("net: dsa: add support for the SJA1110 native tagging protocol")
Signed-off-by: Artem Chernyshev <artem.chernyshev@xxxxxxxxxxx>

Reviewed-by: Florian Fainelli <f.fainelli@xxxxxxxxx>
--
Florian