Re: [PATCH bpf-next] bpf: fix precision tracking

2019-07-03 Thread Daniel Borkmann
On 06/28/2019 06:24 PM, Alexei Starovoitov wrote: > When equivalent state is found the current state needs to propagate precision > marks. > Otherwise the verifier will prune the search incorrectly. > > There is a price for correctness: > before beforebrokenfixe

Re: [PATCH bpf-next] bpf: fix precision tracking

2019-06-28 Thread Lawrence Brakmo
On 6/28/19, 12:33 PM, "netdev-ow...@vger.kernel.org on behalf of Andrii Nakryiko" wrote: On Fri, Jun 28, 2019 at 9:25 AM Alexei Starovoitov wrote: > > When equivalent state is found the current state needs to propagate precision marks. > Otherwise the verifier will prune the

Re: [PATCH bpf-next] bpf: fix precision tracking

2019-06-28 Thread Andrii Nakryiko
On Fri, Jun 28, 2019 at 9:25 AM Alexei Starovoitov wrote: > > When equivalent state is found the current state needs to propagate precision > marks. > Otherwise the verifier will prune the search incorrectly. > > There is a price for correctness: > before beforebrok

[PATCH bpf-next] bpf: fix precision tracking

2019-06-28 Thread Alexei Starovoitov
When equivalent state is found the current state needs to propagate precision marks. Otherwise the verifier will prune the search incorrectly. There is a price for correctness: before beforebrokenfixed cnst spill precise precise bpf_lb-D