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

2017-07-22 Thread Daniel Borkmann
On 07/22/2017 01:28 AM, Stephen Hemminger wrote: On Fri, 21 Jul 2017 21:13:06 +0200 Daniel Borkmann 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

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

2017-07-21 Thread Stephen Hemminger
On Fri, 21 Jul 2017 21:13:06 +0200 Daniel Borkmann 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. >

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

2017-07-21 Thread Daniel Borkmann
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 --- lib/bpf.c | 226 +