Skip to contentSkip to conversation

bpf: update the comment about the length of analysis

PATCH Applied Gary Lin 3 participants 3 messages Mar 1, 2017

Subsystems (4)
lore
Share & tools
lore

Gary Lin

author
#0 lore raw

PATCH 1/1 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 <[email protected]>
Cc Daniel Borkmann <[email protected]>
---
 kernel/bpf/verifier.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
kernel/bpf/verifier.c +1 -1
index cdc43b899f28..0960f65c6da7 100644
@@ -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
  *
Signature · 1 line
2.12.0
Acked-by on v1 1/1
#1 lore raw
Quoted 8 lines · Gary Lin

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 <[email protected]>
Cc Daniel Borkmann <[email protected]>
maintainer Applied
#2 lore raw
In reply to Gary Lin

From: Gary Lin <[email protected]>
Date: Wed, 1 Mar 2017 16:25:51 +0800

Quoted 8 lines

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 <[email protected]>
Cc Daniel Borkmann <[email protected]>

Applied, thanks.