Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
bpf/verifier: when pruning a branch, ignore its write marks
The fact that writes occurred in reaching the continuation state does not screen off its reads from us, because we're not really its parent. So detect 'not really the parent' in do_propagate_liveness, and ignore write marks in that case. Fixes: dc503a8 ("bpf/verifier: track liveness for pruning") Signed-off-by: Edward Cree <[email protected]> Acked-by: Alexei Starovoitov <[email protected]> Acked-by: Daniel Borkmann <[email protected]> Signed-off-by: David S. Miller <[email protected]>
- Loading branch information