[openEuler-5.10 266/303] net/mlx5: DR, fix a potential use-after-free bug