Probes: NTF_EXT_LEARNED
and NTF_EXT_MANAGED
flags using netlink
#20694
Labels
sig/datapath
Impacts bpf/ or low-level forwarding details, including map management and monitor messages.
sig/loader
Impacts the loading of BPF programs into the kernel.
While working on #20556, @rgo3 identified we're using a probe on
bpf_get_branch_snapshot
as a proxy for detectingNTF_EXT_LEARNED
andNTF_EXT_MANAGED
support.This works, but might break on older distro kernels that backport the commit containing that helper. Replace this probe with a few netlink calls that create a neigh entry in a separate netns with these flags to test if managed neighs are really supported.
cc @borkmann
The text was updated successfully, but these errors were encountered: