diff options
author | Artem Chernyshev <[email protected]> | 2022-12-01 17:00:31 +0300 |
---|---|---|
committer | Jakub Kicinski <[email protected]> | 2022-12-02 20:46:52 -0800 |
commit | d4edb50688652eb10be270bc515da63815de428f (patch) | |
tree | b8b6d7d63316e346271ceaea6a006ee9a9c8b169 /lib/mpi/mpi-sub-ui.c | |
parent | 3d8fdcbf1f42e2bb9ae8b8c0b6f202278c788a22 (diff) |
net: dsa: hellcreek: Check return value
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 <[email protected]>
Reviewed-by: Florian Fainelli <[email protected]>
Reviewed-by: Kurt Kanzenbach <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-sub-ui.c')
0 files changed, 0 insertions, 0 deletions