Re: [PATCH bpf] bpf: Add missing btf_put to register_btf_id_dtor_kfuncs

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, Jan 19, 2023 at 9:02 AM Kumar Kartikeya Dwivedi
<memxor@xxxxxxxxx> wrote:
>
> On Thu, 19 Jan 2023 at 19:43, Jiri Olsa <jolsa@xxxxxxxxxx> wrote:
> >
> > We take the BTF reference before we register dtors and we need
> > to put it back when it's done.
> >
> > We probably won't se a problem with kernel BTF, but module BTF
> > would stay loaded (because of the extra ref) even when its module
> > is removed.
> >
> > Cc: Kumar Kartikeya Dwivedi <memxor@xxxxxxxxx>
> > Fixes: 5ce937d613a4 ("bpf: Populate pairs of btf_id and destructor kfunc in btf")
> > Signed-off-by: Jiri Olsa <jolsa@xxxxxxxxxx>
> > ---
>
> Thanks for the fix.
> Acked-by: Kumar Kartikeya Dwivedi <memxor@xxxxxxxxx>

Jiri,

lore and patchwork didn't receive this patch.
Only Kumar's reply is in lore.
Please resend.



[Index of Archives]     [Linux Samsung SoC]     [Linux Rockchip SoC]     [Linux Actions SoC]     [Linux for Synopsys ARC Processors]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]


  Powered by Linux