Skip to content

net: filter: BPF updates

Daniel Borkmann netdev 3 versions Applied

Status from this message: Applied to 'net', thanks Daniel.

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest4 patches 9 repliesApplied
  2. v24 patches 9 repliesSuperseded
  3. v14 patches 4 repliesSuperseded

Changes in v3 from the cover letter

- Do not touch nhoff, let it stay as is

Patches in v3 Applied

#Subject and filesSizeRepliesApplied
1/4flow_keys: include thoff into flow_keys for later usageinclude/net/flow_keys.h net/core/flow_dissector.c+3 -02 replies
2/4net: flow_dissector: add __skb_get_poff to get a start offset to payloadinclude/linux/skbuff.h net/core/flow_dissector.c+59 -02 replies
3/4filter: add ANC_PAY_OFFSET instruction for loading payload start offsetinclude/linux/filter.h include/uapi/linux/filter.h net/core/filter.c+8 -12 replies
4/4filter: add minimal BPF JIT emitted image disassemblerscripts/bpf_jit_disasm.c+216 -03 replies

Reviews trailers per patch

3 of 4 patches have a Reviewed-by or Acked-by.

PatchEric Dumazet
1/4
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 v3 thread

Cover letter [PATCH v3 net-next 0/4] net: filter: BPF updates

This set adds i) an ancillary operation to the BPF engine and ii) a BPF JIT image disassembler in order to verify or debug the BPF JIT compilers under arch/*/net/.

v1 -> v2:
- No need to reorder choke_skb_cb structure
v2 -> v3:
- Do not touch nhoff, let it stay as is

Daniel Borkmann (4):
flow_keys: include thoff into flow_keys for later usage
net: flow_dissector: add __skb_get_poff to get a start offset to payload
filter: add ANC_PAY_OFFSET instruction for loading payload start offset
filter: add minimal BPF JIT emitted image disassembler

 include/linux/filter.h      |   1 +
 include/linux/skbuff.h      |   2 +
 include/net/flow_keys.h     |   1 +
 include/uapi/linux/filter.h |   3 +-
 net/core/filter.c           |   5 +
 net/core/flow_dissector.c   |  59 ++++++++++++
 scripts/bpf_jit_disasm.c    | 216 ++++++++++++++++++++++++++++++++++++++++++++
 7 files changed, 286 insertions(+), 1 deletion(-)
 create mode 100644 scripts/bpf_jit_disasm.c
Signature · 1 line
1.7.11.7