aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/scripts/gdb/linux/timerlist.py
diff options
context:
space:
mode:
authorAleksei Nikiforov <aleksei.nikiforov@linux.ibm.com>2025-11-12 19:27:24 +0100
committerJakub Kicinski <kuba@kernel.org>2025-11-17 16:58:25 -0800
commitda02a1824884d6c84c5e5b5ac373b0c9e3288ec2 (patch)
treeb434f4e43c6b9d5d749773398fef36d20444d0a7 /scripts/gdb/linux/timerlist.py
parentveth: more robust handing of race to avoid txq getting stuck (diff)
downloadwireguard-linux-da02a1824884d6c84c5e5b5ac373b0c9e3288ec2.tar.xz
wireguard-linux-da02a1824884d6c84c5e5b5ac373b0c9e3288ec2.zip
s390/ctcm: Fix double-kfree
The function 'mpc_rcvd_sweep_req(mpcginfo)' is called conditionally from function 'ctcmpc_unpack_skb'. It frees passed mpcginfo. After that a call to function 'kfree' in function 'ctcmpc_unpack_skb' frees it again. Remove 'kfree' call in function 'mpc_rcvd_sweep_req(mpcginfo)'. Bug detected by the clang static analyzer. Fixes: 0c0b20587b9f25a2 ("s390/ctcm: fix potential memory leak") Reviewed-by: Aswin Karuvally <aswin@linux.ibm.com> Signed-off-by: Aleksei Nikiforov <aleksei.nikiforov@linux.ibm.com> Signed-off-by: Aswin Karuvally <aswin@linux.ibm.com> Reviewed-by: Simon Horman <horms@kernel.org> Link: https://patch.msgid.link/20251112182724.1109474-1-aswin@linux.ibm.com Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'scripts/gdb/linux/timerlist.py')
0 files changed, 0 insertions, 0 deletions