summaryrefslogtreecommitdiffstats
path: root/net/bpf
Commit message (Expand)AuthorAgeFilesLines
* bpf: Move skb->len == 0 checks into __bpf_redirectStanislav Fomichev2023-01-141-3/+0
* bpf, test_run: Fix alignment problem in bpf_prog_test_run_skb()Baisong Zhong2022-11-251-0/+1
* bpf: Don't redirect packets with invalid pkt_lenZhengchao Shao2022-09-051-0/+3
* bpf: Add PROG_TEST_RUN support for sk_lookup programsLorenz Bauer2022-08-031-0/+105
* bpf: Consolidate shared test timing codeLorenz Bauer2022-08-031-62/+78
* bpf, test, cgroup: Use sk_{alloc,free} for test casesDaniel Borkmann2021-10-271-5/+9
* bpf: Fix NULL pointer dereference in bpf_get_local_storage() helperYonghong Song2021-09-031-1/+5
* bpf, test: fix NULL pointer dereference on invalid expected_attach_typeXuan Zhuo2021-07-281-0/+3
* bpf: Reject too big ctx_size_in for raw_tp test runSong Liu2021-01-271-1/+2
* bpf: fix raw_tp test run in preempt kernelSong Liu2020-09-301-12/+9
* bpf: Enable BPF_PROG_TEST_RUN for raw_tracepointSong Liu2020-09-281-0/+91
* treewide: Use fallthrough pseudo-keywordGustavo A. R. Silva2020-08-231-1/+1
* bpf: Allow to specify ifindex for skb in bpf_prog_test_run_skbDmitry Yakunin2020-08-031-2/+20
* bpf: Setup socket family and addresses in bpf_prog_test_run_skbDmitry Yakunin2020-08-031-0/+21
* bpf: Add tests for PTR_TO_BTF_ID vs. null comparisonYonghong Song2020-06-301-1/+18
* bpf: Fix too large copy from user in bpf_test_initJesper Dangaard Brouer2020-05-191-3/+5
* bpf: Add xdp.frame_sz in bpf_prog_test_run_xdp().Jesper Dangaard Brouer2020-05-141-4/+12
* bpf: Fix build warning regarding missing prototypesJean-Philippe Menil2020-03-281-0/+4
* bpf: Add selftests for BPF_MODIFY_RETURNKP Singh2020-03-041-1/+21
* bpf: Add test ops for BPF_PROG_TYPE_TRACINGKP Singh2020-03-041-9/+28
* bpf: Add gso_size to __sk_buffWillem de Bruijn2020-03-031-0/+7
* bpf/tests: Use migrate disable instead of preempt disableDavid Miller2020-02-241-4/+4
* bpf: Allow to change skb mark in test_runNikita V. Shirokov2019-12-181-1/+9
* bpf: Expose __sk_buff wire_len/gso_segs to BPF_PROG_TEST_RUNStanislav Fomichev2019-12-131-1/+18
* bpf: Start using the BPF dispatcher in BPF_TEST_RUNBjörn Töpel2019-12-131-5/+10
* bpf: Switch to offsetofend in BPF_PROG_TEST_RUNStanislav Fomichev2019-12-111-8/+4
* bpf: Fix memory leak on object 'data'Colin Ian King2019-11-181-1/+3
* bpf: Add kernel test functions for fentry testingAlexei Starovoitov2019-11-151-0/+41
* bpf: Allow __sk_buff tstamp in BPF_PROG_TEST_RUNStanislav Fomichev2019-10-151-0/+9
* bpf/flow_dissector: support flags in BPF_PROG_TEST_RUNStanislav Fomichev2019-07-251-4/+35
* bpf/flow_dissector: pass input flags to BPF flow dissector programStanislav Fomichev2019-07-251-1/+1
* treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 206Thomas Gleixner2019-05-301-4/+1
* treewide: Add SPDX license identifier - Makefile/KconfigThomas Gleixner2019-05-211-0/+1
* bpf: Introduce bpf sk local storageMartin KaFai Lau2019-04-271-0/+2
* selftests: bpf: test writable buffers in raw tpsMatt Mullins2019-04-261-0/+4
* bpf/flow_dissector: don't adjust nhoff by ETH_HLEN in BPF_PROG_TEST_RUNStanislav Fomichev2019-04-231-3/+0
* bpf: when doing BPF_PROG_TEST_RUN for flow dissector use no-skb modeStanislav Fomichev2019-04-231-30/+17
* flow_dissector: switch kernel context to struct bpf_flow_dissectorStanislav Fomichev2019-04-231-4/+0
* bpf: explicitly prohibit ctx_{in, out} in non-skb BPF_PROG_TEST_RUNStanislav Fomichev2019-04-121-0/+6
* bpf: fix missing bpf_check_uarg_tail_zero in BPF_PROG_TEST_RUNStanislav Fomichev2019-04-111-1/+1
* bpf: support input __sk_buff context in BPF_PROG_TEST_RUNStanislav Fomichev2019-04-111-8/+135
* bpf: fix warning about using plain integer as NULLBo YU2019-03-081-1/+1
* Merge git://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf-nextDavid S. Miller2019-03-041-6/+20
|\
| * bpf/test_run: fix unkillable BPF_PROG_TEST_RUN for flow dissectorStanislav Fomichev2019-02-251-6/+20
* | Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/netDavid S. Miller2019-02-241-21/+24
|\ \ | |/ |/|
| * bpf/test_run: fix unkillable BPF_PROG_TEST_RUNStanislav Fomichev2019-02-191-21/+24
* | bpf: add BPF_PROG_TEST_RUN support for flow dissectorStanislav Fomichev2019-01-291-0/+82
|/
* Merge git://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf-nextDavid S. Miller2018-12-101-2/+13
|\
| * bpf: respect size hint to BPF_PROG_TEST_RUN if presentLorenz Bauer2018-12-041-2/+13
* | bpf: refactor bpf_test_run() to separate own failures and test program resultRoman Gushchin2018-12-011-6/+15
|/