[PATCH openEuler-5.10 36/52] devlink: Fix use-after-free after a failed reload