bpf: Fix a typo in comment for DFS algorithm
authorXu Kuohai <xukuohai@huawei.com>
Thu, 27 Oct 2022 03:44:58 +0000 (23:44 -0400)
committerAndrii Nakryiko <andrii@kernel.org>
Thu, 27 Oct 2022 20:10:32 +0000 (13:10 -0700)
commitb6d207999c350b19a787e48757f98198d0bf3e5b
tree42b6427b16d093c05dd8f8d56fca4c675b1c0af8
parent96f341a4751d1939a303c5c526b2ca79ebda075f
bpf: Fix a typo in comment for DFS algorithm

There is a typo in comment for DFS algorithm in bpf/verifier.c. The top
element should not be popped until all its neighbors have been checked.
Fix it.

Fixes: 475fb78fbf48 ("bpf: verifier (add branch/goto checks)")
Signed-off-by: Xu Kuohai <xukuohai@huawei.com>
Signed-off-by: Andrii Nakryiko <andrii@kernel.org>
Link: https://lore.kernel.org/bpf/20221027034458.2925218-1-xukuohai@huaweicloud.com
kernel/bpf/verifier.c