Thread (13 messages) flat view 13 messages, 3 authors, 2021-06-10

Re: [PATCH bpf 0/2] bpf fix for mixed tail calls and subprograms

From: Yonghong Song <hidden>
Date: 2021-06-09 06:24:34
Also in: bpf


On 6/8/21 12:29 PM, John Fastabend wrote:
We recently tried to use mixed programs that have both tail calls and
subprograms, but it needs the attached fix. Also added a small test
addition that will cause the failure without the fix.

Thanks,
John

---

John Fastabend (2):
       bpf: Fix null ptr deref with mixed tail calls and subprogs
       bpf: selftest to verify mixing bpf2bpf calls and tailcalls with insn patch


  .../selftests/bpf/progs/tailcall_bpf2bpf4.c     | 17 +++++++++++++++++
  1 file changed, 17 insertions(+)
Don't know what happens. Apparently, the first patch made changes
in kernel/bpf/verifier.c, but it didn't show up in the above.
--
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help