Skip to content

update skb->protocol in bpf_skb_net_grow

Willem de Bruijn netdev 2 versions – Applied

Status from this message: Applied, thanks!

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest2 patches 2 repliesApplied
  2. v12 patches 5 repliesSuperseded

Changes in v2 from the cover letter

- improve documentation in test

Patches in v2 Applied

#Subject and filesSizeRepliesApplied
1/2bpf: update skb->protocol in bpf_skb_net_grownet/core/filter.c+8 -00 replies
2/2selftests/bpf: expand test_tc_tunnel with SIT encaptools/testing/selftests/bpf/config tools/testing/selftests/bpf/progs/test_tc_tunnel.c tools/testing/selftests/bpf/test_tc_tunnel.sh+80 -51 reply

Reviews trailers per patch

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

PatchAlan MaguireYonghong Song
1/2R-b A-b
2/2T-b A-b

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

Read the v2 thread

Cover letter [PATCH bpf-next v2 0/2] update skb->protocol in bpf_skb_net_grow

From: Willem de Bruijn <[email protected]>

Expand the tc tunnel encap support with protocols that convert the network layer protocol, such as 6in4. This is analogous to existing support in bpf_skb_proto_6_to_4.

Patch 1 implements the straightforward logic
Patch 2 tests it with a 6in4 tunnel

Changes v1->v2
- improve documentation in test

Willem de Bruijn (2):
bpf: update skb->protocol in bpf_skb_net_grow selftests/bpf: expand test_tc_tunnel with SIT encap

 net/core/filter.c                             |  8 +++
 tools/testing/selftests/bpf/config            |  1 +
 .../selftests/bpf/progs/test_tc_tunnel.c      | 64 +++++++++++++++++--
 tools/testing/selftests/bpf/test_tc_tunnel.sh | 20 +++++-
 4 files changed, 88 insertions(+), 5 deletions(-)
Signature · 1 line
2.21.0.593.g511ec345e18-goog