On Fri, Jan 22, 2021 at 1:32 PM Mikko Ylinen <mikko.ylinen@xxxxxxxxxxxxxxx> wrote: > > Networking LSM hooks are conditionally enabled and when building the new > sleepable BPF LSM hooks with the networking LSM hooks disabled, the > following build error occurs: > > BTFIDS vmlinux > FAILED unresolved symbol bpf_lsm_socket_socketpair > > To fix the error, conditionally add the networking LSM hooks to the > sleepable set. > > Fixes: 423f16108c9d8 ("bpf: Augment the set of sleepable LSM hooks") > Signed-off-by: Mikko Ylinen <mikko.ylinen@xxxxxxxxxxxxxxx> Thanks! Acked-by: KP Singh <kpsingh@xxxxxxxxxx>