[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20160914225804.GA60248@ast-mbp.thefacebook.com>
Date: Wed, 14 Sep 2016 15:58:06 -0700
From: Alexei Starovoitov <alexei.starovoitov@...il.com>
To: Jakub Kicinski <jakub.kicinski@...ronome.com>
Cc: netdev@...r.kernel.org, ast@...nel.org, daniel@...earbox.net,
jiri@...nulli.us, john.fastabend@...il.com, kubakici@...pl
Subject: Re: [PATCHv3 net-next 04/15] bpf: don't (ab)use instructions to
store state
On Wed, Sep 14, 2016 at 08:00:12PM +0100, Jakub Kicinski wrote:
> Storing state in reserved fields of instructions makes
> it impossible to run validator on programs already
> marked as read-only. Allocate and use an array of
> per-instruction state instead.
>
> While touching the error path rename and move existing
> jump target.
>
> Suggested-by: Alexei Starovoitov <ast@...nel.org>
> Signed-off-by: Jakub Kicinski <jakub.kicinski@...ronome.com>
Nice and clean. Thanks!
Acked-by: Alexei Starovoitov <ast@...nel.org>
Powered by blists - more mailing lists