[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAPhsuW7JMT3mDUW-b-PQt8O=3Wg3XSOSQDVz1=oXiz+f5jZ=Yw@mail.gmail.com>
Date: Wed, 24 Oct 2018 14:43:24 -0700
From: Song Liu <liu.song.a23@...il.com>
To: Daniel Borkmann <daniel@...earbox.net>
Cc: Alexei Starovoitov <ast@...nel.org>,
Networking <netdev@...r.kernel.org>
Subject: Re: [PATCH bpf 0/7] Batch of direct packet access fixes for BPF
On Wed, Oct 24, 2018 at 1:08 PM Daniel Borkmann <daniel@...earbox.net> wrote:
>
> Several fixes to get direct packet access in order from verifier
> side. Also test suite fix to run cg_skb as unpriv and an improvement
> to make direct packet write less error prone in future.
>
> Thanks!
>
> Daniel Borkmann (7):
> bpf: fix test suite to enable all unpriv program types
> bpf: disallow direct packet access for unpriv in cg_skb
> bpf: fix direct packet access for flow dissector progs
> bpf: fix cg_skb types to hint access type in may_access_direct_pkt_data
> bpf: fix direct packet write into pop/peek helpers
> bpf: fix leaking uninitialized memory on pop/peek helpers
> bpf: make direct packet write unclone more robust
>
> kernel/bpf/helpers.c | 2 --
> kernel/bpf/queue_stack_maps.c | 2 ++
> kernel/bpf/verifier.c | 13 ++++++++++---
> net/core/filter.c | 17 +++++++++++++++++
> tools/testing/selftests/bpf/test_verifier.c | 15 +++++++++++++--
> 5 files changed, 42 insertions(+), 7 deletions(-)
>
> --
> 2.9.5
>
Other than the nitpick on 7/7, for the series:
Acked-by: Song Liu <songliubraving@...com>
Powered by blists - more mailing lists