Re: [PATCH v2] audit: fix memory leak in nf_tables_commit

From: Dongliang Mu
Date: Tue Jul 13 2021 - 22:19:08 EST


On Tue, Jul 13, 2021 at 11:31 PM Florian Westphal <fw@xxxxxxxxx> wrote:
>
> Dongliang Mu <mudongliangabcd@xxxxxxxxx> wrote:
> > > > +static void nf_tables_commit_free(struct list_head *adl)
> > >
> > > nf_tables_commit_audit_free?
> >
> > What do you mean? Modify the name of newly added function to
> > nf_tables_commit_audit_free?
>
> Yes, this function is audit related, and it does the inverse
> of existing '...audit_alloc'.

Hi Florian,

I double-check the patch, and it seems there is no need to send a
followup patch (nf-next).

I will send a v3 patch with the new function name.

Best regards
Dongliang Mu