[PATCH openEuler-5.10 062/121] net/mlx4_en: Fix an use-after-free bug in mlx4_en_try_alloc_resources()