Toke Høiland-Jørgensen c6c111523d selftests/bpf: Check for correct program attach/detach in xdp_attach test
David Ahern noticed that there was a bug in the EXPECTED_FD code so
programs did not get detached properly when that parameter was supplied.
This case was not included in the xdp_attach tests; so let's add it to be
sure that such a bug does not sneak back in down.

Fixes: 87854a0b57b3 ("selftests/bpf: Add tests for attaching XDP programs")
Reported-by: David Ahern <dsahern@gmail.com>
Signed-off-by: Toke Høiland-Jørgensen <toke@redhat.com>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Acked-by: Song Liu <songliubraving@fb.com>
Link: https://lore.kernel.org/bpf/20200414145025.182163-2-toke@redhat.com
2020-04-15 13:26:08 +02:00
..
2020-04-03 13:12:26 -07:00
2020-04-02 15:13:15 -07:00
2020-04-05 10:36:18 -07:00
2020-04-05 12:26:24 -07:00
2020-04-05 12:26:24 -07:00
2020-04-03 13:12:26 -07:00
2020-04-02 17:57:10 +01:00
2020-04-05 12:26:24 -07:00
2020-04-03 13:12:26 -07:00
2020-04-03 13:12:26 -07:00