summaryrefslogtreecommitdiff
path: root/net/bpf/test_run.c
AgeCommit message (Expand)AuthorFilesLines
2022-04-11bpf: Fix release of page_pool in BPF_PROG_RUN in test runnerToke Høiland-Jørgensen1-2/+3
2022-03-12bpf, test_run: Fix packet size check for live packet modeToke Høiland-Jørgensen1-3/+3
2022-03-10bpf, test_run: Use kvfree() for memory allocated with kvmalloc()Yihao Han1-2/+2
2022-03-10bpf: Initialise retval in bpf_prog_test_run_xdp()Toke Høiland-Jørgensen1-1/+1
2022-03-10bpf: Add "live packet" mode for XDP in BPF_PROG_RUNToke Høiland-Jørgensen1-14/+320
2022-03-06selftests/bpf: Add tests for kfunc register offset checksKumar Kartikeya Dwivedi1-0/+11
2022-03-06bpf: Replace __diag_ignore with unified __diag_ignore_allKumar Kartikeya Dwivedi1-2/+2
2022-03-02bpf, test_run: Fix overflow in XDP frags bpf_test_finishStanislav Fomichev1-0/+5
2022-02-09bpf: Make remote_port field in struct bpf_sk_lookup 16-bit wideJakub Sitnicki1-2/+2
2022-02-08bpf: test_run: Fix overflow in bpf_test_finish frags parsingStanislav Fomichev1-2/+3
2022-02-08bpf: test_run: Fix overflow in xdp frags parsingStanislav Fomichev1-2/+2
2022-02-03bpf: test_run: Fix OOB access in bpf_prog_test_run_xdpLorenzo Bianconi1-0/+5
2022-01-24bpf: Fix flexible_array.cocci warningskernel test robot1-1/+1
2022-01-22bpf: test_run: add xdp_shared_info pointer in bpf_test_finish signatureLorenzo Bianconi1-9/+39
2022-01-22bpf: introduce frags support to bpf_prog_test_run_xdp()Lorenzo Bianconi1-13/+45
2022-01-22bpf: move user_size out of bpf_test_initLorenzo Bianconi1-6/+7
2022-01-19selftests/bpf: Add test for race in btf_try_get_moduleKumar Kartikeya Dwivedi1-0/+2
2022-01-19selftests/bpf: Extend kfunc selftestsKumar Kartikeya Dwivedi1-2/+127
2022-01-19bpf: Remove check_kfunc_call callback and old kfunc BTF ID APIKumar Kartikeya Dwivedi1-9/+14
2021-10-21net: bpf: Switch over to memdup_user()Qing Wang1-15/+6
2021-10-06bpf: selftests: Add selftests for module kfunc supportKumar Kartikeya Dwivedi1-1/+4
2021-10-06bpf: Introduce BPF support for kernel module function callsKumar Kartikeya Dwivedi1-1/+1
2021-10-02Merge https://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf-nextJakub Kicinski1-2/+4
2021-10-01Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski1-5/+9
2021-09-30bpf: Do not invoke the XDP dispatcher for PROG_RUN with single repeatLorenz Bauer1-2/+4
2021-09-28bpf, test, cgroup: Use sk_{alloc,free} for test casesDaniel Borkmann1-5/+9
2021-09-11selftests/bpf: Test new __sk_buff field hwtstampVadim Fedorenko1-0/+8
2021-09-08bpf: Permit ingress_ifindex in bpf_prog_test_run_xattrNeil Spring1-5/+3
2021-08-17bpf: Refactor BPF_PROG_RUN into a functionAndrii Nakryiko1-3/+3
2021-08-13Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski1-0/+4
2021-08-10bpf: Add missing bpf_read_[un]lock_trace() for syscall programYonghong Song1-0/+4
2021-08-05bpf: Fix bpf_prog_test_run_xdp logic after incorrect merge resolutionAndrii Nakryiko1-2/+1
2021-07-31Merge https://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf-nextJakub Kicinski1-12/+11
2021-07-23Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netDavid S. Miller1-0/+5
2021-07-16bpf: Add ambient BPF runtime context stored in currentAndrii Nakryiko1-12/+11
2021-07-12bpf, test: fix NULL pointer dereference on invalid expected_attach_typeXuan Zhuo1-0/+3
2021-07-08bpf: Support specifying ingress via xdp_md context in BPF_PROG_TEST_RUNZvi Effron1-7/+49
2021-07-08bpf: Support input xdp_md context in BPF_PROG_TEST_RUNZvi Effron1-8/+59
2021-05-19bpf: Prepare bpf syscall to be used from kernel and user space.Alexei Starovoitov1-1/+1
2021-05-19bpf: Introduce bpf_sys_bpf() helper and program type.Alexei Starovoitov1-0/+43
2021-03-27bpf: selftests: Add kfunc_call testMartin KaFai Lau1-0/+28
2021-03-26bpf: Fix NULL pointer dereference in bpf_get_local_storage() helperYonghong Song1-1/+5
2021-03-05bpf: Add PROG_TEST_RUN support for sk_lookup programsLorenz Bauer1-0/+105
2021-03-05bpf: Consolidate shared test timing codeLorenz Bauer1-63/+78
2021-01-20Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski1-1/+2
2021-01-14bpf: Reject too big ctx_size_in for raw_tp test runSong Liu1-1/+2
2021-01-09net, xdp: Introduce xdp_prepare_buff utility routineLorenzo Bianconi1-5/+2
2021-01-09net, xdp: Introduce xdp_init_buff utility routineLorenzo Bianconi1-2/+2
2020-09-30bpf: fix raw_tp test run in preempt kernelSong Liu1-12/+9
2020-09-28bpf: Enable BPF_PROG_TEST_RUN for raw_tracepointSong Liu1-0/+91