[PATCH openEuler-22.09 v3 047/391] bpf: Refactor check_cfg to use a structured loop.