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

Paolo Abeni pabeni at redhat.com
Tue Sep 12 00:41:15 PDT 2023


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!

Paolo




More information about the linux-arm-kernel mailing list