Subject: Re: [PATCH iproute2 master 1/2] bpf: improve error reporting around tail calls

From: Stephen Hemminger <[email-masked]>
Date: Fri, 21 Jul 2017 16:28:25 -0700

On Fri, 21 Jul 2017 21:13:06 +0200
Daniel Borkmann <[email-masked]> wrote:

> Currently, it's still quite hard to figure out if a prog passed the
> verifier, but later gets rejected due to different tail call ownership.
> Figure out whether that is the case and provide appropriate error
> messages to the user.
> 
> Signed-off-by: Daniel Borkmann <[email-masked]>

Sorry, dead code. Please fix and resubmit.

bpf.c:356:12: warning: ‘bpf_derive_prog_from_fdinfo’ defined but not used [-Wunused-function]
 static int bpf_derive_prog_from_fdinfo(int fd, struct bpf_prog_data *prog)