summaryrefslogtreecommitdiffstats
path: root/kernel/pid_namespace.c
diff options
context:
space:
mode:
authorJakub Kicinski <jakub.kicinski@netronome.com>2016-09-21 12:43:56 +0200
committerDavid S. Miller <davem@davemloft.net>2016-09-22 01:50:02 +0200
commit3df126f35f88dc76eea33769f85a3c3bb8ce6c6b (patch)
tree72d11939e2d7219edb506fb783014f02f4130740 /kernel/pid_namespace.c
parentnet: cls_bpf: add support for marking filters as hardware-only (diff)
downloadlinux-3df126f35f88dc76eea33769f85a3c3bb8ce6c6b.tar.xz
linux-3df126f35f88dc76eea33769f85a3c3bb8ce6c6b.zip
bpf: don't (ab)use instructions to store state
Storing state in reserved fields of instructions makes it impossible to run verifier 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 <jakub.kicinski@netronome.com> Acked-by: Alexei Starovoitov <ast@kernel.org> Acked-by: Daniel Borkmann <daniel@iogearbox.net> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'kernel/pid_namespace.c')
0 files changed, 0 insertions, 0 deletions