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

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




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

Fixes: 01ef09caad66 ("net: dsa: Add tag handling for Hirschmann Hellcreek switches")
Signed-off-by: Artem Chernyshev <artem.chernyshev@xxxxxxxxxxx>

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