summaryrefslogtreecommitdiff
path: root/net/bpf/test_run.c
AgeCommit message (Expand)AuthorFilesLines
2023-01-14bpf: Move skb->len == 0 checks into __bpf_redirectStanislav Fomichev1-3/+0
2022-11-25bpf, test_run: Fix alignment problem in bpf_prog_test_run_skb()Baisong Zhong1-0/+1
2022-09-05bpf: Don't redirect packets with invalid pkt_lenZhengchao Shao1-0/+3
2022-08-03bpf: Add PROG_TEST_RUN support for sk_lookup programsLorenz Bauer1-0/+105
2022-08-03bpf: Consolidate shared test timing codeLorenz Bauer1-62/+78
2021-10-27bpf, test, cgroup: Use sk_{alloc,free} for test casesDaniel Borkmann1-5/+9
2021-09-03bpf: Fix NULL pointer dereference in bpf_get_local_storage() helperYonghong Song1-1/+5
2021-07-28bpf, test: fix NULL pointer dereference on invalid expected_attach_typeXuan Zhuo1-0/+3
2021-01-27bpf: Reject too big ctx_size_in for raw_tp test runSong Liu1-1/+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
2020-08-24treewide: Use fallthrough pseudo-keywordGustavo A. R. Silva1-1/+1
2020-08-04bpf: Allow to specify ifindex for skb in bpf_prog_test_run_skbDmitry Yakunin1-2/+20
2020-08-04bpf: Setup socket family and addresses in bpf_prog_test_run_skbDmitry Yakunin1-0/+21
2020-06-30bpf: Add tests for PTR_TO_BTF_ID vs. null comparisonYonghong Song1-1/+18
2020-05-19bpf: Fix too large copy from user in bpf_test_initJesper Dangaard Brouer1-3/+5
2020-05-15bpf: Add xdp.frame_sz in bpf_prog_test_run_xdp().Jesper Dangaard Brouer1-4/+12
2020-03-28bpf: Fix build warning regarding missing prototypesJean-Philippe Menil1-0/+4
2020-03-05bpf: Add selftests for BPF_MODIFY_RETURNKP Singh1-1/+21
2020-03-05bpf: Add test ops for BPF_PROG_TYPE_TRACINGKP Singh1-9/+28
2020-03-04bpf: Add gso_size to __sk_buffWillem de Bruijn1-0/+7
2020-02-25bpf/tests: Use migrate disable instead of preempt disableDavid Miller1-4/+4
2019-12-19bpf: Allow to change skb mark in test_runNikita V. Shirokov1-1/+9
2019-12-14bpf: Expose __sk_buff wire_len/gso_segs to BPF_PROG_TEST_RUNStanislav Fomichev1-1/+18
2019-12-14bpf: Start using the BPF dispatcher in BPF_TEST_RUNBjörn Töpel1-5/+10
2019-12-11bpf: Switch to offsetofend in BPF_PROG_TEST_RUNStanislav Fomichev1-8/+4
2019-11-19bpf: Fix memory leak on object 'data'Colin Ian King1-1/+3
2019-11-16bpf: Add kernel test functions for fentry testingAlexei Starovoitov1-0/+41
2019-10-16bpf: Allow __sk_buff tstamp in BPF_PROG_TEST_RUNStanislav Fomichev1-0/+9
2019-07-26bpf/flow_dissector: support flags in BPF_PROG_TEST_RUNStanislav Fomichev1-4/+35
2019-07-26bpf/flow_dissector: pass input flags to BPF flow dissector programStanislav Fomichev1-1/+1
2019-05-30treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 206Thomas Gleixner1-4/+1
2019-04-27bpf: Introduce bpf sk local storageMartin KaFai Lau1-0/+2
2019-04-27selftests: bpf: test writable buffers in raw tpsMatt Mullins1-0/+4
2019-04-23bpf/flow_dissector: don't adjust nhoff by ETH_HLEN in BPF_PROG_TEST_RUNStanislav Fomichev1-3/+0
2019-04-23bpf: when doing BPF_PROG_TEST_RUN for flow dissector use no-skb modeStanislav Fomichev1-30/+17
2019-04-23flow_dissector: switch kernel context to struct bpf_flow_dissectorStanislav Fomichev1-4/+0
2019-04-12bpf: explicitly prohibit ctx_{in, out} in non-skb BPF_PROG_TEST_RUNStanislav Fomichev1-0/+6
2019-04-11bpf: support input __sk_buff context in BPF_PROG_TEST_RUNStanislav Fomichev1-8/+135
2019-03-08bpf: fix warning about using plain integer as NULLBo YU1-1/+1
2019-03-04Merge git://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf-nextDavid S. Miller1-6/+20
2019-02-26bpf/test_run: fix unkillable BPF_PROG_TEST_RUN for flow dissectorStanislav Fomichev1-6/+20
2019-02-24Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/netDavid S. Miller1-21/+24
2019-02-19bpf/test_run: fix unkillable BPF_PROG_TEST_RUNStanislav Fomichev1-21/+24
2019-01-29bpf: add BPF_PROG_TEST_RUN support for flow dissectorStanislav Fomichev1-0/+82
2018-12-11Merge git://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf-nextDavid S. Miller1-2/+13
2018-12-04bpf: respect size hint to BPF_PROG_TEST_RUN if presentLorenz Bauer1-2/+13
2018-12-01bpf: refactor bpf_test_run() to separate own failures and test program resultRoman Gushchin1-6/+15
2018-10-19bpf: add tests for direct packet access from CGROUP_SKBSong Liu1-0/+15
2018-10-01bpf: extend cgroup bpf core to allow multiple cgroup storage typesRoman Gushchin1-6/+14