diff options
| author | Abdun Nihaal <[email protected]> | 2025-05-12 04:48:27 +0000 |
|---|---|---|
| committer | Jakub Kicinski <[email protected]> | 2025-05-14 00:09:53 +0000 |
| commit | 9d8a99c5a7c7f4f7eca2c168a4ec254409670035 (patch) | |
| tree | bd256b8aaeeb1ea926602559cda227ea3b5fcef0 /net/unix/af_unix.c | |
| parent | docs: networking: timestamping: improve stacked PHC sentence (diff) | |
| download | kernel-9d8a99c5a7c7f4f7eca2c168a4ec254409670035.tar.gz kernel-9d8a99c5a7c7f4f7eca2c168a4ec254409670035.zip | |
qlcnic: fix memory leak in qlcnic_sriov_channel_cfg_cmd()
In one of the error paths in qlcnic_sriov_channel_cfg_cmd(), the memory
allocated in qlcnic_sriov_alloc_bc_mbx_args() for mailbox arguments is
not freed. Fix that by jumping to the error path that frees them, by
calling qlcnic_free_mbx_args(). This was found using static analysis.
Fixes: f197a7aa6288 ("qlcnic: VF-PF communication channel implementation")
Signed-off-by: Abdun Nihaal <[email protected]>
Reviewed-by: Simon Horman <[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
