aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorThorsten Blum <thorsten.blum@linux.dev>2025-04-13 11:34:34 +0200
committerJakub Kicinski <kuba@kernel.org>2025-04-15 08:21:46 -0700
commitdef9d0958befc7dfbda5fc1f22e17fbab912bc62 (patch)
tree93e798c347e9a7b74afcecd53c651c2073d46b37 /tools/perf/scripts/python/export-to-postgresql.py
parentmptcp: sched: split validation part (diff)
downloadwireguard-linux-def9d0958befc7dfbda5fc1f22e17fbab912bc62.tar.xz
wireguard-linux-def9d0958befc7dfbda5fc1f22e17fbab912bc62.zip
mptcp: pm: Return local variable instead of freed pointer
Commit e4c28e3d5c090 ("mptcp: pm: move generic PM helpers to pm.c") removed an unnecessary if-check, which resulted in returning a freed pointer. This still works due to the implicit boolean conversion when returning the freed pointer from mptcp_remove_anno_list_by_saddr(), but it can be confusing and potentially error-prone. To improve clarity, add a local variable to explicitly return a boolean value instead. Signed-off-by: Thorsten Blum <thorsten.blum@linux.dev> Reviewed-by: Matthieu Baerts (NGI0) <matttbe@kernel.org> Signed-off-by: Matthieu Baerts (NGI0) <matttbe@kernel.org> Link: https://patch.msgid.link/20250413-net-next-mptcp-sched-mib-sft-misc-v2-3-0f83a4350150@kernel.org Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions