[PATCH openEuler-5.10-LTS 37/43] devlink: Fix use-after-free after a failed reload