[PATCH 6.1 36/76] net/mlx5: DR, prevent potential error pointer dereference