WSL2-Linux-Kernel/net/x25
Wei Yongjun 2929cceb2f net/x25: Fix skb leak in x25_lapb_receive_frame()
x25_lapb_receive_frame() using skb_copy() to get a private copy of
skb, the new skb should be freed in the undersized/fragmented skb
error handling path. Otherwise there is a memory leak.

Fixes: cb101ed2c3 ("x25: Handle undersized/fragmented skbs")
Signed-off-by: Wei Yongjun <weiyongjun1@huawei.com>
Acked-by: Martin Schiller <ms@dev.tdt.de>
Link: https://lore.kernel.org/r/20221114110519.514538-1-weiyongjun@huaweicloud.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
2022-11-15 20:22:19 -08:00
..
Kconfig
Makefile
af_x25.c net/x25: fix call timeouts in blocking connects 2022-08-08 20:48:51 -07:00
sysctl_net_x25.c
x25_dev.c net/x25: Fix skb leak in x25_lapb_receive_frame() 2022-11-15 20:22:19 -08:00
x25_facilities.c
x25_forward.c
x25_in.c
x25_link.c
x25_out.c
x25_proc.c x25: remove redundant pointer dev 2022-05-10 11:59:22 +02:00
x25_route.c
x25_subr.c
x25_timer.c