[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20181017055606.353449-1-songliubraving@fb.com>
Date: Tue, 16 Oct 2018 22:56:04 -0700
From: Song Liu <songliubraving@...com>
To: <netdev@...r.kernel.org>
CC: <ast@...nel.org>, <daniel@...earbox.net>, <kernel-team@...com>,
Song Liu <songliubraving@...com>
Subject: [PATCH bpf-next 0/2] bpf: add cg_skb_is_valid_access
This set enables BPF program of type BPF_PROG_TYPE_CGROUP_SKB to access
__skb_buff->len/data/data_end directly.
Song Liu (2):
bpf: add cg_skb_is_valid_access for BPF_PROG_TYPE_CGROUP_SKB
bpf: add tests for direct packet access from CGROUP_SKB
kernel/bpf/cgroup.c | 4 +++
net/core/filter.c | 26 +++++++++++++++++-
tools/testing/selftests/bpf/test_verifier.c | 30 +++++++++++++++++++++
3 files changed, 59 insertions(+), 1 deletion(-)
--
2.17.1
Powered by blists - more mailing lists