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(-) -- 2.22.0.657.g960e92d24f-goog