[PATCH net v2 4/5] net: microchip: sparx5: Fix possible memory leaks in test_vcap_xn_rule_creator()

Ruan Jinjie ruanjinjie at huawei.com
Tue Sep 12 01:10:39 PDT 2023



On 2023/9/12 15:41, Paolo Abeni wrote:
> On Sat, 2023-09-09 at 16:02 +0800, Jinjie Ruan wrote:
>> Inject fault while probing kunit-example-test.ko, the duprule which
>> is allocated by kzalloc in vcap_dup_rule(), 
> 
> Small typo above, I think it should be 'vcap_alloc_rule' instead of
> 'vcap_dup_rule'. I think it's relevant, otherwise looking only at the
> changelog, the next patch would be a not-needed/duplicated of this one.
> 
> Please fix the above, thanks!

Thank you! I'll fix it sooner.

> 
> Paolo
> 



More information about the linux-arm-kernel mailing list