diff options
author | Artem Chernyshev <[email protected]> | 2022-12-01 17:00:30 +0300 |
---|---|---|
committer | Jakub Kicinski <[email protected]> | 2022-12-02 20:46:51 -0800 |
commit | 3d8fdcbf1f42e2bb9ae8b8c0b6f202278c788a22 (patch) | |
tree | b79be469c8bb05d1ca921cde135ecd5e4c6199a0 /lib/mpi/mpi-sub-ui.c | |
parent | a789c70c1dfed36a31bae1f2df55bc9b8429287a (diff) |
net: dsa: ksz: Check return value
Return NULL if we got unexpected value from skb_trim_rcsum()
in ksz_common_rcv()
Found by Linux Verification Center (linuxtesting.org) with SVACE.
Fixes: bafe9ba7d908 ("net: dsa: ksz: Factor out common tag code")
Signed-off-by: Artem Chernyshev <[email protected]>
Reviewed-by: Vladimir Oltean <[email protected]>
Reviewed-by: Florian Fainelli <[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