diff options
author | Gary Lin <glin@suse.com> | 2017-03-01 09:25:51 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-03-01 23:56:50 +0100 |
commit | eba38a968258b5ad9d70722ab8c584e1753f4b16 (patch) | |
tree | 706a0dcc0e148abc0c8447494638a8095629bfe0 /kernel | |
parent | bridge: Fix error path in nbp_vlan_init (diff) | |
download | linux-eba38a968258b5ad9d70722ab8c584e1753f4b16.tar.xz linux-eba38a968258b5ad9d70722ab8c584e1753f4b16.zip |
bpf: update the comment about the length of analysis
Commit 07016151a446 ("bpf, verifier: further improve search
pruning") increased the limit of processed instructions from
32k to 64k, but the comment still mentioned the 32k limit.
This commit updates the comment to reflect the change.
Cc: Alexei Starovoitov <ast@kernel.org>
Cc: Daniel Borkmann <daniel@iogearbox.net>
Signed-off-by: Gary Lin <glin@suse.com>
Acked-by: Alexei Starovoitov <ast@kernel.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'kernel')
-rw-r--r-- | kernel/bpf/verifier.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/bpf/verifier.c b/kernel/bpf/verifier.c index 3fc6e39b223e..796b68d00119 100644 --- a/kernel/bpf/verifier.c +++ b/kernel/bpf/verifier.c @@ -33,7 +33,7 @@ * - out of bounds or malformed jumps * The second pass is all possible path descent from the 1st insn. * Since it's analyzing all pathes through the program, the length of the - * analysis is limited to 32k insn, which may be hit even if total number of + * analysis is limited to 64k insn, which may be hit even if total number of * insn is less then 4K, but there are too many branches that change stack/regs. * Number of 'branches to be analyzed' is limited to 1k * |