Skip to contentSkip to conversation

pull-request: bpf 2019-04-04

DISCUSSION Daniel Borkmann 2 participants 2 messages Apr 4, 2019 – Apr 5, 2019

Subsystems (3)
lore
Share & tools
lore

Daniel Borkmann

author maintainer
#0 lore raw

Hi David,

The following pull-request contains BPF updates for your *net* tree.

The main changes are:

1) Batch of fixes to the existing BPF flow dissector API to support calling BPF programs from the eth_get_headlen context (support for latter is planned to be added in bpf-next), from Stanislav.

Please consider pulling these changes from:

git://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf.git

Thanks a lot!

----------------------------------------------------------------

The following changes since commit b2e54b09a3d29c4db883b920274ca8dca4d9f04d:

ip6_tunnel: Match to ARPHRD_TUNNEL6 for dev type (2019-04-02 13:19:34 -0700)

are available in the git repository at:

git://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf.git

for you to fetch changes up to 5eed7898626bedd6405421550c0c6e8ab9591bb2:

flow_dissector: rst'ify documentation (2019-04-04 15:25:23 +0200)

----------------------------------------------------------------
Daniel Borkmann (1):
Merge branch 'bpf-flow-dissector-fixes'

Stanislav Fomichev (6):
selftests/bpf: fix vlan handling in flow dissector program net/flow_dissector: pass flow_keys->n_proto to BPF programs
flow_dissector: fix clamping of BPF flow_keys for non-zero nhoff
flow_dissector: allow access only to a subset of __sk_buff fields
flow_dissector: document BPF flow dissector environment
flow_dissector: rst'ify documentation

 Documentation/networking/bpf_flow_dissector.rst    | 126 +++++++++++++++++++++
 Documentation/networking/index.rst                 |   1 +
 net/core/filter.c                                  |  16 +--
 net/core/flow_dissector.c                          |   4 +-
 .../selftests/bpf/prog_tests/flow_dissector.c      |  68 +++++++++++
 tools/testing/selftests/bpf/progs/bpf_flow.c       |  19 ++--
 6 files changed, 208 insertions(+), 26 deletions(-)
 create mode 100644 Documentation/networking/bpf_flow_dissector.rst
maintainer
#1 lore raw

From: Daniel Borkmann <[email protected]>
Date: Thu, 4 Apr 2019 17:21:41 +0200

Quoted 11 lines

The following pull-request contains BPF updates for your *net* tree.

The main changes are:

1) Batch of fixes to the existing BPF flow dissector API to support calling BPF programs from the eth_get_headlen context (support for latter is planned to be added in bpf-next), from Stanislav.

Please consider pulling these changes from:

git://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf.git

Pulled, thanks Daniel.