[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <5da76612-54b4-d616-6def-a103cafee074@iogearbox.net>
Date: Tue, 10 Jul 2018 21:20:33 +0200
From: Daniel Borkmann <daniel@...earbox.net>
To: Mathieu Xhonneux <m.xhonneux@...il.com>, netdev@...r.kernel.org
Cc: alexei.starovoitov@...il.com
Subject: Re: [PATCH bpf-next] bpf: better availability probing for seg6
helpers
On 07/10/2018 06:54 PM, Mathieu Xhonneux wrote:
> bpf_lwt_seg6_* helpers require CONFIG_IPV6_SEG6_BPF, and currently
> return -EOPNOTSUPP to indicate unavailability. This patch forces the
> BPF verifier to reject programs using these helpers when
> !CONFIG_IPV6_SEG6_BPF, allowing users to more easily probe if they are
> available or not.
>
> Signed-off-by: Mathieu Xhonneux <m.xhonneux@...il.com>
Note, just fyi, this would need to go to bpf tree (and not bpf-next) as
otherwise there's a change in behavior.
Thanks,
Daniel
Powered by blists - more mailing lists