Thread (21 messages) 21 messages, 2 authors, 2016-09-15

Re: [PATCHv3 net-next 04/15] bpf: don't (ab)use instructions to store state

flat view

From: Alexei Starovoitov <hidden>
Date: 2016-09-14 22:58:35

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@kernel.org>
Signed-off-by: Jakub Kicinski <redacted>
Nice and clean. Thanks!
Acked-by: Alexei Starovoitov <ast@kernel.org>
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help