On 4/7/20 7:09 AM, Andrey Ignatov wrote:
This patch set fixes bpf_get_link_xdp_id() behavior for non-zero flags and adds selftest that verifies the fix and can be used to reproduce the problem. Andrey Ignatov (2): libbpf: Fix bpf_get_link_xdp_id flags handling selftests/bpf: Add test for bpf_get_link_xdp_id tools/lib/bpf/netlink.c | 2 +- .../selftests/bpf/prog_tests/xdp_info.c | 68 +++++++++++++++++++ 2 files changed, 69 insertions(+), 1 deletion(-) create mode 100644 tools/testing/selftests/bpf/prog_tests/xdp_info.c
LGTM, applied, thanks!