Skip to content

BPF + test suite updates

Daniel Borkmann netdev 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest4 patches 5 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4net: filter: add slot overlapping test with fully filled M[]lib/test_bpf.c+74 -12 replies
2/4net: filter: add test for loading SKF_AD_OFF limitslib/test_bpf.c+22 -00 replies
3/4net: filter: get rid of BPF_S_* enumarch/arm/net/bpf_jit_32.c arch/powerpc/net/bpf_jit_64.S arch/powerpc/net/bpf_jit_comp.c +5 more+498 -6492 replies
4/4net: filter: improve filter block macrosinclude/linux/filter.h net/core/filter.c+277 -1740 replies

Reviews trailers per patch

All 4 patches have a Reviewed-by or Acked-by.

PatchAlexei StarovoitovChema Gonzalez
1/4A-b
2/4A-b
3/4A-b
4/4A-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH net-next 0/4] BPF + test suite updates

These are the last bigger BPF changes that I had in my todo queue for now. As the first two patches from this series contain additional test cases for the test suite, I have rebased them on top of current net-next with the set from [1] applied to avoid introducing any unnecessary merge conflicts.

For details, please refer to the individual patches. Test suite runs fine with the set applied.

Thanks a lot,

Daniel

[1] http://patchwork.ozlabs.org/patch/352599/

     http://patchwork.ozlabs.org/patch/352600/

Daniel Borkmann (4):
net: filter: add slot overlapping test with fully filled M[]
net: filter: add test for loading SKF_AD_OFF limits
net: filter: get rid of BPF_S_* enum
net: filter: explicit initialization in filter block macros

 arch/arm/net/bpf_jit_32.c       | 139 +++++------
 arch/powerpc/net/bpf_jit_64.S   |   2 +-
 arch/powerpc/net/bpf_jit_comp.c | 157 ++++++------
 arch/s390/net/bpf_jit_comp.c    | 163 ++++++------
 arch/sparc/net/bpf_jit_comp.c   | 154 ++++++------
 include/linux/filter.h          | 363 ++++++++++++++++++---------
 kernel/seccomp.c                |  83 +++----
 lib/test_bpf.c                  |  97 +++++++-
 net/core/filter.c               | 537 +++++++++++++++-------------------------
 9 files changed, 871 insertions(+), 824 deletions(-)
Signature · 1 line
1.7.11.7