mirror-linux/net/atm
Wei Yang f9e2342046 net: atm: fix skb leak in sigd_send() default branch
The default branch in sigd_send() calls sock_put() and returns -EINVAL
without freeing the skb, while all other exit paths do so. Add the
missing dev_kfree_skb() before sock_put() to fix the leak.

Fixes: 1da177e4c3 ("Linux-2.6.12-rc2")
Signed-off-by: Wei Yang <albinwyang@tencent.com>
Link: https://patch.msgid.link/20260509122358.1102997-1-albin_yang@163.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
2026-05-12 18:07:02 -07:00
..
Kconfig net: remove unused ATM protocols and legacy ATM device drivers 2026-04-23 12:21:14 -07:00
Makefile net: remove unused ATM protocols and legacy ATM device drivers 2026-04-23 12:21:14 -07:00
addr.c treewide: Replace kmalloc with kmalloc_obj for non-scalar types 2026-02-21 01:02:28 -08:00
addr.h
atm_misc.c
atm_sysfs.c net: atm: Remove redundant check. 2023-10-23 08:45:25 +01:00
br2684.c Convert 'alloc_obj' family to use the new default GFP_KERNEL argument 2026-02-21 17:09:51 -08:00
common.c Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net 2025-11-27 12:19:08 -08:00
common.h net: pass a sockptr_t into ->setsockopt 2020-07-24 15:41:54 -07:00
ioctl.c net: remove unused ATM protocols and legacy ATM device drivers 2026-04-23 12:21:14 -07:00
pppoatm.c ppp: simplify input error handling 2026-03-09 19:07:38 -07:00
proc.c net: remove unused ATM protocols and legacy ATM device drivers 2026-04-23 12:21:14 -07:00
protocols.h
pvc.c net: Convert proto_ops connect() callbacks to use sockaddr_unsized 2025-11-04 19:10:32 -08:00
raw.c atm: Revert atm_account_tx() if copy_from_iter_full() fails. 2025-06-17 18:42:44 -07:00
resources.c Convert 'alloc_obj' family to use the new default GFP_KERNEL argument 2026-02-21 17:09:51 -08:00
resources.h atm: lift copyin from atm_dev_ioctl() 2020-05-20 20:31:35 -04:00
signaling.c net: atm: fix skb leak in sigd_send() default branch 2026-05-12 18:07:02 -07:00
signaling.h
svc.c net: Convert proto_ops connect() callbacks to use sockaddr_unsized 2025-11-04 19:10:32 -08:00