From mboxrd@z Thu Jan 1 00:00:00 1970 From: Daniel Borkmann Subject: Re: [PATCH v2 net-next 2/5] bpf/verifier: when pruning a branch, ignore its write marks Date: Wed, 23 Aug 2017 16:56:59 +0200 Message-ID: <599D97BB.7070604@iogearbox.net> References: Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Cc: netdev@vger.kernel.org, iovisor-dev To: Edward Cree , davem@davemloft.net, Alexei Starovoitov , Alexei Starovoitov Return-path: Received: from www62.your-server.de ([213.133.104.62]:47345 "EHLO www62.your-server.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754113AbdHWO5M (ORCPT ); Wed, 23 Aug 2017 10:57:12 -0400 In-Reply-To: Sender: netdev-owner@vger.kernel.org List-ID: On 08/23/2017 04:10 PM, Edward Cree wrote: > 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: dc503a8ad984 ("bpf/verifier: track liveness for pruning") > Signed-off-by: Edward Cree Acked-by: Daniel Borkmann