mbox series

[net,v3,0/5] net: microchip: sparx5: Fix some memory leaks in vcap_api_kunit

Message ID 20230912110310.1540474-1-ruanjinjie@huawei.com (mailing list archive)
Headers show
Series net: microchip: sparx5: Fix some memory leaks in vcap_api_kunit | expand

Message

Jinjie Ruan Sept. 12, 2023, 11:03 a.m. UTC
There are some memory leaks in vcap_api_kunit, this patchset
fixes them.

Changes in v3:
- Fix the typo in patch 3, from "export" to "vcap enabled port".
- Fix the typo in patch 4, from "vcap_dup_rule" to "vcap_alloc_rule".

Changes in v2:
- Adhere to the 80 character limit in vcap_free_caf()
- Fix kernel test robot reported warnings in test_vcap_xn_rule_creator()

Jinjie Ruan (5):
  net: microchip: sparx5: Fix memory leak for
    vcap_api_rule_add_keyvalue_test()
  net: microchip: sparx5: Fix memory leak for
    vcap_api_rule_add_actionvalue_test()
  net: microchip: sparx5: Fix possible memory leak in
    vcap_api_encode_rule_test()
  net: microchip: sparx5: Fix possible memory leaks in
    test_vcap_xn_rule_creator()
  net: microchip: sparx5: Fix possible memory leaks in vcap_api_kunit

 .../ethernet/microchip/vcap/vcap_api_kunit.c  | 59 +++++++++++++++++--
 1 file changed, 54 insertions(+), 5 deletions(-)

Comments

patchwork-bot+netdevbpf@kernel.org Sept. 15, 2023, 6:40 a.m. UTC | #1
Hello:

This series was applied to netdev/net.git (main)
by David S. Miller <davem@davemloft.net>:

On Tue, 12 Sep 2023 19:03:05 +0800 you wrote:
> There are some memory leaks in vcap_api_kunit, this patchset
> fixes them.
> 
> Changes in v3:
> - Fix the typo in patch 3, from "export" to "vcap enabled port".
> - Fix the typo in patch 4, from "vcap_dup_rule" to "vcap_alloc_rule".
> 
> [...]

Here is the summary with links:
  - [net,v3,1/5] net: microchip: sparx5: Fix memory leak for vcap_api_rule_add_keyvalue_test()
    https://git.kernel.org/netdev/net/c/f037fc9905ff
  - [net,v3,2/5] net: microchip: sparx5: Fix memory leak for vcap_api_rule_add_actionvalue_test()
    https://git.kernel.org/netdev/net/c/39d0ccc18531
  - [net,v3,3/5] net: microchip: sparx5: Fix possible memory leak in vcap_api_encode_rule_test()
    https://git.kernel.org/netdev/net/c/89e3af027738
  - [net,v3,4/5] net: microchip: sparx5: Fix possible memory leaks in test_vcap_xn_rule_creator()
    https://git.kernel.org/netdev/net/c/20146fa73ab8
  - [net,v3,5/5] net: microchip: sparx5: Fix possible memory leaks in vcap_api_kunit
    https://git.kernel.org/netdev/net/c/2a2dffd911d4

You are awesome, thank you!