summaryrefslogtreecommitdiff
path: root/rust/helpers/vmalloc.c
diff options
context:
space:
mode:
authorSayooj K Karun <sayooj@aerlync.com>2025-11-19 14:27:47 +0530
committerJakub Kicinski <kuba@kernel.org>2025-11-20 18:09:49 -0800
commit4b4749b7b4b3badabd0fa26f454782842db6ae53 (patch)
treef76f2212a92dcf1d3df5858b60026ed7eea2e46e /rust/helpers/vmalloc.c
parent8e621c9a337555c914cf1664605edfaa6f839774 (diff)
net: atm: fix incorrect cleanup function call in error path
In atm_init(), if atmsvc_init() fails, the code jumps to out_atmpvc_exit label which incorrectly calls atmsvc_exit() instead of atmpvc_exit(). This results in calling the wrong cleanup function and failing to properly clean up atmpvc_init(). Fix this by calling atmpvc_exit() in the out_atmpvc_exit error path. Fixes: 1da177e4c3f4 ("Linux-2.6.12-rc2") Signed-off-by: Sayooj K Karun <sayooj@aerlync.com> Link: https://patch.msgid.link/20251119085747.67139-1-sayooj@aerlync.com Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'rust/helpers/vmalloc.c')
0 files changed, 0 insertions, 0 deletions