commit | 2b9034b5eaddc09c0e9529b93446eb975f97f814 | [log] [tgz] |
---|---|---|
author | David Miller <davem@davemloft.net> | Mon Nov 26 21:55:09 2018 -0800 |
committer | Daniel Borkmann <daniel@iogearbox.net> | Tue Nov 27 09:46:52 2018 +0100 |
tree | b7013eec3efdf782371a429bbfa698b2cc5d43d4 | |
parent | fa1e0c9690bfa19eadd2adbaf511fb4fef9270e6 [diff] |
sparc: Adjust bpf JIT prologue for PSEUDO calls. Move all arguments into output registers from input registers. This path is exercised by test_verifier.c's "calls: two calls with args" test. Adjust BPF_TAILCALL_PROLOGUE_SKIP as needed. Let's also make the prologue length a constant size regardless of the combination of ->saw_frame_pointer and ->saw_tail_call settings. Signed-off-by: David S. Miller <davem@davemloft.net> Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>