net/i40e: add parameter check for RSS flow init
authorWei Zhao <wei.zhao1@intel.com>
Mon, 12 Nov 2018 09:25:24 +0000 (17:25 +0800)
committerFerruh Yigit <ferruh.yigit@intel.com>
Tue, 13 Nov 2018 23:35:53 +0000 (00:35 +0100)
commit264b23e3d2c1aafd1694e18cb840cb78f8431b93
tree22155fb45fd6418f78a6e86d552e375bd66fc275
parent91546fb62e675943a574c2542c0486f2928fed49
net/i40e: add parameter check for RSS flow init

There need an parameter check for RSS flow init, or it may cause
core dump if pointer is NULL in memory copy.

Signed-off-by: Wei Zhao <wei.zhao1@intel.com>
Acked-by: Qi Zhang <qi.z.zhang@intel.com>
drivers/net/i40e/i40e_ethdev.c