net/mlx5: fix invalid flow item check
authorXueming Li <xuemingl@mellanox.com>
Fri, 13 Apr 2018 15:00:36 +0000 (23:00 +0800)
committerFerruh Yigit <ferruh.yigit@intel.com>
Fri, 27 Apr 2018 16:34:00 +0000 (17:34 +0100)
commit2323cc3c2e68bad29cc25d3924dbe4c55d358499
treec433e0fb9194a3bc6bc2b9ea65c1b9de2d8c5950
parent96525b9e193139d11cabaaa6f27801bc636a447a
net/mlx5: fix invalid flow item check

This patch fixed invalid flow item check.

Fixes: a6d83b6a9209 ("net/mlx5: standardize on negative errno values")

Signed-off-by: Xueming Li <xuemingl@mellanox.com>
Acked-by: Nelio Laranjeiro <nelio.laranjeiro@6wind.com>
drivers/net/mlx5/mlx5_flow.c