i40e: check Rx queue parameter when resetting
authorBernard Iremonger <bernard.iremonger@intel.com>
Fri, 3 Jul 2015 14:03:59 +0000 (15:03 +0100)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Sun, 19 Jul 2015 19:33:58 +0000 (21:33 +0200)
commit1ee9e8228960d2625859e9092825b30dcb0808b2
tree04856f17cfd09695898f0171b10c39fdc093ae9e
parentde605cb1bc62105d5611fd9667416c2d71be17c7
i40e: check Rx queue parameter when resetting

There is a segmentation fault if rxq is NULL.

Signed-off-by: Bernard Iremonger <bernard.iremonger@intel.com>
Acked-by: Helin Zhang <helin.zhang@intel.com>
drivers/net/i40e/i40e_rxtx.c