libbpf: Fix bpf_get_link_xdp_id flags handling
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest2 patches 2 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | libbpf: Fix bpf_get_link_xdp_id flags handlingtools/ | +1 | 1 reply | |
| 2/2 | selftests/bpf: Add test for bpf_get_link_xdp_idtools/ | +68 | 0 replies |
Reviews trailers per patch
1 of 2 patches has a Reviewed-by or Acked-by.
| Patch | Toke Høiland-Jørgensen |
|---|---|
| 1/2 | A-b |
| 2/2 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH bpf 0/2] libbpf: Fix bpf_get_link_xdp_id flags handling
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
Signature · 1 line
2.24.1