diff options
author | Zhipeng Lu <alexious@zju.edu.cn> | 2024-02-01 20:47:13 +0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2024-02-03 12:48:20 +0000 |
commit | b09b58e31b0f43d76f79b9943da3fb7c2843dcbb (patch) | |
tree | 43040dc60f8786bd9ea0dc3dd561ef36963a9685 /net/netfilter | |
parent | f3616173bf9be9bf39d131b120d6eea4e6324cb5 (diff) | |
download | linux-stable-b09b58e31b0f43d76f79b9943da3fb7c2843dcbb.tar.gz linux-stable-b09b58e31b0f43d76f79b9943da3fb7c2843dcbb.tar.bz2 linux-stable-b09b58e31b0f43d76f79b9943da3fb7c2843dcbb.zip |
octeontx2-pf: Fix a memleak otx2_sq_init
When qmem_alloc and pfvf->hw_ops->sq_aq_init fails, sq->sg should be
freed to prevent memleak.
Fixes: c9c12d339d93 ("octeontx2-pf: Add support for PTP clock")
Signed-off-by: Zhipeng Lu <alexious@zju.edu.cn>
Acked-by: Jiri Pirko <jiri@nvidia.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/netfilter')
0 files changed, 0 insertions, 0 deletions