diff options
| author | Daniel Borkmann <[email protected]> | 2017-08-17 14:59:40 +0200 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2017-08-17 10:15:20 -0700 |
| commit | 1ab2de2bfed3ab2073ed1e7afa2b1134930d2b70 (patch) | |
| tree | 6c6cc90ce09e7abfe81f2378f7adaa302c079227 /tools/perf/scripts/python | |
| parent | fd07a62d58c16b1fdd46f4099791c5bd242908c3 (diff) | |
bpf: fix liveness propagation to parent in spilled stack slots
Using parent->regs[] when propagating REG_LIVE_READ for spilled regs
doesn't work since parent->regs[] denote the set of normal registers
but not spilled ones. Propagate to the correct regs.
Fixes: dc503a8ad984 ("bpf/verifier: track liveness for pruning")
Reported-by: Dan Carpenter <[email protected]>
Signed-off-by: Daniel Borkmann <[email protected]>
Acked-by: Edward Cree <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions