diff options
author | Yuanjun Gong | 2023-07-20 22:42:08 +0800 |
---|---|---|
committer | Greg Kroah-Hartman | 2023-09-13 09:42:21 +0200 |
commit | 328fcde050ffb85ffc34566531b4371f73c40e4e (patch) | |
tree | e8b99b5972b48803d41dbea8ae422184bb030da5 /arch | |
parent | 0f7b43a5776b0c8aa716a18d892fab2ad8f9f3ce (diff) |
ethernet: atheros: fix return value check in atl1c_tso_csum()
[ Upstream commit 8d01da0a1db237c44c92859ce3612df7af8d3a53 ]
in atl1c_tso_csum, it should check the return value of pskb_trim(),
and return an error code if an unexpected value is returned
by pskb_trim().
Signed-off-by: Yuanjun Gong <ruc_gongyuanjun@163.com>
Reviewed-by: Simon Horman <simon.horman@corigine.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'arch')
0 files changed, 0 insertions, 0 deletions