Toke Høiland-Jørgensen <toke@xxxxxxxxxx> wrote: > Florian Westphal <fw@xxxxxxxxx> writes: > > + case BPF_PROG_TYPE_NETFILTER: > > + return BTF_KFUNC_HOOK_SOCKET_FILTER; > > The dynptr patch reuses the actual set between the different IDs, so > this should probably define a new BTF_KFUNC_HOOK_NETFILTER, with an > associated register_btf_kfunc_id_set() call? Good point, the above was a kludge that I forgot about. I will wait for dynptr patchset to land and will add new BTF_KFUNC_HOOK_NETFILTER for next revision.