On Tue, Mar 12, 2024 at 9:49 AM Alexei Starovoitov
wrote:
>
> On Mon, Mar 11, 2024 at 2:34 AM Menglong Dong
> wrote:
> >
> > Refactor the struct modules_array to more general struct ptr_array, which
> > is used to store the pointers.
> >
> > Meanwhiles, introduce the bpf_try_add_ptr(), which
On Mon, Mar 11, 2024 at 2:34 AM Menglong Dong
wrote:
>
> Refactor the struct modules_array to more general struct ptr_array, which
> is used to store the pointers.
>
> Meanwhiles, introduce the bpf_try_add_ptr(), which checks the existing of
> the ptr before adding it to the array.
>
> Seems it
Refactor the struct modules_array to more general struct ptr_array, which
is used to store the pointers.
Meanwhiles, introduce the bpf_try_add_ptr(), which checks the existing of
the ptr before adding it to the array.
Seems it should be moved to another files in "lib", and I'm not sure where
to