net/mlx5: fix crash on null operation