diff options
author | Yuanjun Gong <ruc_gongyuanjun@163.com> | 2023-07-20 22:42:19 +0800 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2023-07-24 15:43:02 -0700 |
commit | 69a184f7a372aac588babfb0bd681aaed9779f5b (patch) | |
tree | 9ae3a308227926a1bae0c2c490df57fb232d06fc /net | |
parent | ed96824b71ed67664390890441b229423a25317f (diff) | |
download | lwn-69a184f7a372aac588babfb0bd681aaed9779f5b.tar.gz lwn-69a184f7a372aac588babfb0bd681aaed9779f5b.zip |
ethernet: atheros: fix return value check in atl1e_tso_csum()
in atl1e_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().
Fixes: a6a5325239c2 ("atl1e: Atheros L1E Gigabit Ethernet driver")
Signed-off-by: Yuanjun Gong <ruc_gongyuanjun@163.com>
Reviewed-by: Simon Horman <simon.horman@corigine.com>
Link: https://lore.kernel.org/r/20230720144219.39285-1-ruc_gongyuanjun@163.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'net')
0 files changed, 0 insertions, 0 deletions