net/mlx5: fix empty RSS flow action
authorNélio Laranjeiro <nelio.laranjeiro@6wind.com>
Tue, 18 Apr 2017 08:30:11 +0000 (10:30 +0200)
committerFerruh Yigit <ferruh.yigit@intel.com>
Wed, 19 Apr 2017 13:37:37 +0000 (15:37 +0200)
commit30788c5510356b8dd6870a30aa616d9ee043c154
tree16c54bf7abc03c1ce32e8e76f6e82685cfdbc297
parentab76eab38aae98bc0cfae5d89ed8ee756f31382a
net/mlx5: fix empty RSS flow action

Empty RSS action is causing a segmentation fault.

Fixes: 3d821d6fea40 ("net/mlx5: support RSS action flow rule")

Signed-off-by: Nelio Laranjeiro <nelio.laranjeiro@6wind.com>
Acked-by: Shahaf Shuler <shahafs@mellanox.com>
Acked-by: Adrien Mazarguil <adrien.mazarguil@6wind.com>
drivers/net/mlx5/mlx5_flow.c