[PATCH openEuler-22.03-LTS-SP1 2/2] net/sched: act_api: fix possible infinite loop in tcf_idr_check_alloc()