]> git.ipfire.org Git - thirdparty/iproute2.git/commit
bpf: improve error reporting around tail calls
authorDaniel Borkmann <daniel@iogearbox.net>
Sat, 22 Jul 2017 23:22:18 +0000 (01:22 +0200)
committerStephen Hemminger <stephen@networkplumber.org>
Tue, 25 Jul 2017 18:43:28 +0000 (11:43 -0700)
commitecb05c0f997dc94d3e811041bfd9ba18f08de06b
tree71f22f580f9200d1bcfd6e6c9d67e0d0675b0a88
parent2f406f2d0b4ef6e62fc33173219fb419a42a66b0
bpf: improve error reporting around tail calls

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 <daniel@iogearbox.net>
lib/bpf.c