[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <9d809442-b652-f68f-70e7-8be703c97244@solarflare.com>
Date: Wed, 3 Apr 2019 16:52:40 +0100
From: Edward Cree <ecree@...arflare.com>
To: Daniel Borkmann <daniel@...earbox.net>,
Paul Chaignon <paul.chaignon@...nge.com>,
Alexei Starovoitov <ast@...nel.org>, <netdev@...r.kernel.org>,
<bpf@...r.kernel.org>
CC: Xiao Han <xiao.han@...nge.com>, <paul.chaignon@...il.com>,
"Martin KaFai Lau" <kafai@...com>,
Song Liu <songliubraving@...com>, Yonghong Song <yhs@...com>
Subject: Re: [PATCH bpf] bpf: report verifier bugs as warnings
On 02/04/2019 15:37, Daniel Borkmann wrote:
> If we really want to have a kernel warn, then lets add a
> helper macro verbose_and_warn(...) which will trigger a one-time warning, but keeps
> the verbose log intact as well.
+1
Any time the verifier detects that its internal invariants have been broken,
logging a warning is the right thing to do, just like any other part of the
kernel.
Powered by blists - more mailing lists