diff options
author | Toke Høiland-Jørgensen <[email protected]> | 2022-01-07 23:11:15 +0100 |
---|---|---|
committer | Alexei Starovoitov <[email protected]> | 2022-01-11 09:44:06 -0800 |
commit | 036a05f50bd777134b1955f400e8d24c0149fef4 (patch) | |
tree | c128bcf26d072175917ad3dbe484207c6780a5b3 /lib/test_overflow.c | |
parent | 4b27480dcaa71e7ee9f56907e419c6a1511fd2b2 (diff) |
bpf/selftests: Add check for updating XDP bpf_link with wrong program type
Add a check to the xdp_link selftest that the kernel rejects replacing an
XDP program with a different program type on link update.
v2:
- Split this out into its own patch.
Signed-off-by: Toke Høiland-Jørgensen <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Alexei Starovoitov <[email protected]>
Diffstat (limited to 'lib/test_overflow.c')
0 files changed, 0 insertions, 0 deletions