diff options
author | Thangaraj Samynathan <thangaraj.s@microchip.com> | 2025-04-29 08:25:27 +0300 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2025-05-01 17:04:58 +0300 |
commit | 2d52e2e38b85c8b7bc00dca55c2499f46f8c8198 (patch) | |
tree | b7d2c721deb8576ba5560a8c04a1dc5e9a6fc0e5 /tools/testing/radix-tree/generated/autoconf.h | |
parent | e98386d79a23c57cf179fe4138322e277aa3aa74 (diff) | |
download | linux-2d52e2e38b85c8b7bc00dca55c2499f46f8c8198.tar.xz |
net: lan743x: Fix memleak issue when GSO enabled
Always map the `skb` to the LS descriptor. Previously skb was
mapped to EXT descriptor when the number of fragments is zero with
GSO enabled. Mapping the skb to EXT descriptor prevents it from
being freed, leading to a memory leak
Fixes: 23f0703c125b ("lan743x: Add main source files for new lan743x driver")
Signed-off-by: Thangaraj Samynathan <thangaraj.s@microchip.com>
Reviewed-by: Jacob Keller <jacob.e.keller@intel.com>
Link: https://patch.msgid.link/20250429052527.10031-1-thangaraj.s@microchip.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'tools/testing/radix-tree/generated/autoconf.h')
0 files changed, 0 insertions, 0 deletions