diff options
| author | Maxim Levitsky <[email protected]> | 2024-12-09 17:57:50 +0000 |
|---|---|---|
| committer | Jakub Kicinski <[email protected]> | 2024-12-12 04:21:04 +0000 |
| commit | bb1e3eb57d2cc38951f9a9f1b8c298ced175798f (patch) | |
| tree | 22b5e9de8839d92719f0a11b94695cf4c790cf3c /net/unix/af_unix.c | |
| parent | MAINTAINERS: Add ethtool.h to NETWORKING [GENERAL] (diff) | |
| download | kernel-bb1e3eb57d2cc38951f9a9f1b8c298ced175798f.tar.gz kernel-bb1e3eb57d2cc38951f9a9f1b8c298ced175798f.zip | |
net: mana: Fix memory leak in mana_gd_setup_irqs
Commit 8afefc361209 ("net: mana: Assigning IRQ affinity on HT cores")
added memory allocation in mana_gd_setup_irqs of 'irqs' but the code
doesn't free this temporary array in the success path.
This was caught by kmemleak.
Fixes: 8afefc361209 ("net: mana: Assigning IRQ affinity on HT cores")
Signed-off-by: Maxim Levitsky <[email protected]>
Reviewed-by: Michal Swiatkowski <[email protected]>
Reviewed-by: Kalesh AP <[email protected]>
Reviewed-by: Saurabh Sengar <[email protected]>
Reviewed-by: Yury Norov <[email protected]>
Link: https://patch.msgid.link/[email protected]
Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions
