Skip to content

bpf: gso_segs fixes

Eric Dumazet bpf netdev 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 1 replyIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2bpf: fix access to skb_shared_info->gso_segsnet/core/filter.c+3 -30 replies
2/2selftests/bpf: add another gso_segs accesstools/testing/selftests/bpf/verifier/ctx_skb.c+11 -00 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH bpf 0/2] bpf: gso_segs fixes

First patch changes the kernel, second patch
adds a new test.

Note that other patches might be needed to take care of similar issues in sock_ops_convert_ctx_access() and SOCK_OPS_GET_FIELD()

Eric Dumazet (2):
bpf: fix access to skb_shared_info->gso_segs
selftests/bpf: add another gso_segs access

 net/core/filter.c                              |  6 +++---
 tools/testing/selftests/bpf/verifier/ctx_skb.c | 11 +++++++++++
 2 files changed, 14 insertions(+), 3 deletions(-)
Signature · 1 line
2.22.0.657.g960e92d24f-goog