[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <87fsrd98u7.fsf@toke.dk>
Date: Tue, 30 Nov 2021 12:33:20 +0100
From: Toke Høiland-Jørgensen <toke@...hat.com>
To: Paolo Abeni <pabeni@...hat.com>, netdev@...r.kernel.org
Cc: Alexei Starovoitov <ast@...nel.org>,
Daniel Borkmann <daniel@...earbox.net>, bpf@...r.kernel.org
Subject: Re: [PATCH v3 net-next 2/2] bpf: let bpf_warn_invalid_xdp_action()
report more info
Paolo Abeni <pabeni@...hat.com> writes:
> In non trivial scenarios, the action id alone is not sufficient
> to identify the program causing the warning. Before the previous
> patch, the generated stack-trace pointed out at least the
> involved device driver.
>
> Let's additionally include the program name and id, and the
> relevant device name.
>
> If the user needs additional infos, he can fetch them via a
> kernel probe, leveraging the arguments added here.
>
> v2 -> v3:
> - properly check NULL dev argument (kernel test robot)
>
> v1 -> v2
> - do not include the device name for maps caller (Toke)
>
> rfc -> v1:
> - do not print the attach type, print the program name
>
> Signed-off-by: Paolo Abeni <pabeni@...hat.com>
You forgot my ack :) here it is again:
Acked-by: Toke Høiland-Jørgensen <toke@...hat.com>
Powered by blists - more mailing lists