summaryrefslogtreecommitdiff
path: root/kernel/bpf/verifier.c
diff options
context:
space:
mode:
authorToke Høiland-Jørgensen <toke@redhat.com>2022-01-07 23:11:15 +0100
committerAlexei Starovoitov <ast@kernel.org>2022-01-11 09:44:06 -0800
commit036a05f50bd777134b1955f400e8d24c0149fef4 (patch)
treec128bcf26d072175917ad3dbe484207c6780a5b3 /kernel/bpf/verifier.c
parent4b27480dcaa71e7ee9f56907e419c6a1511fd2b2 (diff)
downloadlinux-036a05f50bd777134b1955f400e8d24c0149fef4.tar.gz
linux-036a05f50bd777134b1955f400e8d24c0149fef4.tar.bz2
linux-036a05f50bd777134b1955f400e8d24c0149fef4.zip
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 <toke@redhat.com> Link: https://lore.kernel.org/r/20220107221115.326171-3-toke@redhat.com Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Diffstat (limited to 'kernel/bpf/verifier.c')
0 files changed, 0 insertions, 0 deletions