From: Daniel Borkmann <daniel@iogearbox.net>
To: Mathieu Xhonneux <m.xhonneux@gmail.com>, netdev@vger.kernel.org
Cc: alexei.starovoitov@gmail.com
Subject: Re: [PATCH bpf-next] bpf: better availability probing for seg6 helpers
Date: Wed, 11 Jul 2018 22:35:21 +0200 [thread overview]
Message-ID: <107fd268-2944-89aa-d565-5a77c41fd44d@iogearbox.net> (raw)
In-Reply-To: <5da76612-54b4-d616-6def-a103cafee074@iogearbox.net>
On 07/10/2018 09:20 PM, Daniel Borkmann wrote:
> 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@gmail.com>
>
> Note, just fyi, this would need to go to bpf tree (and not bpf-next) as
> otherwise there's a change in behavior.
Applied, thanks Mathieu!
prev parent reply other threads:[~2018-07-11 20:41 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-07-10 16:54 [PATCH bpf-next] bpf: better availability probing for seg6 helpers Mathieu Xhonneux
2018-07-10 19:20 ` Daniel Borkmann
2018-07-11 20:35 ` Daniel Borkmann [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=107fd268-2944-89aa-d565-5a77c41fd44d@iogearbox.net \
--to=daniel@iogearbox.net \
--cc=alexei.starovoitov@gmail.com \
--cc=m.xhonneux@gmail.com \
--cc=netdev@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox