aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/tools/perf/scripts/python/syscall-counts.py
diff options
context:
space:
mode:
authorChristophe JAILLET <christophe.jaillet@wanadoo.fr>2024-10-26 16:17:44 +0200
committerJakub Kicinski <kuba@kernel.org>2024-10-30 18:26:58 -0700
commitbd03e7627c377c69508b56ab63d1339bf45a4552 (patch)
tree0bec5dc3e8f7a4b991c7025bc08c2ea69328e8e9 /tools/perf/scripts/python/syscall-counts.py
parentdt-bindings: net: renesas,ether: Add iommus property (diff)
downloadwireguard-linux-bd03e7627c377c69508b56ab63d1339bf45a4552.tar.xz
wireguard-linux-bd03e7627c377c69508b56ab63d1339bf45a4552.zip
rtnetlink: Fix an error handling path in rtnl_newlink()
When some code has been moved in the commit in Fixes, some "return err;" have correctly been changed in goto <some_where_in_the_error_handling_path> but this one was missed. Should "ops->maxtype > RTNL_MAX_TYPE" happen, then some resources would leak. Go through the error handling path to fix these leaks. Fixes: 0d3008d1a9ae ("rtnetlink: Move ops->validate to rtnl_newlink().") Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr> Reviewed-by: Kuniyuki Iwashima <kuniyu@amazon.com> Link: https://patch.msgid.link/eca90eeb4d9e9a0545772b68aeaab883d9fe2279.1729952228.git.christophe.jaillet@wanadoo.fr Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions