[dpdk-dev] [PATCH v2 2/3] i40e: fix dereference before null check

Bruce Richardson bruce.richardson at intel.com
Tue Jul 5 15:24:49 CEST 2016


On Tue, Jul 05, 2016 at 02:10:04PM +0800, Beilei Xing wrote:
> Null-checking vsi suggests that it may be null, but it
> has be dereferenced before null-checking. So move if
> statement to the front of assignment statement.
> 
> Coverity: 119265, 119266
> 
> Fixes: d0a349409bd7 ("i40e: support AQ based RSS config")
> Fixes: 647d1eaf758b ("i40evf: support AQ based RSS config")
> 
> Signed-off-by: Beilei Xing <beilei.xing at intel.com>

Acked-by: Bruce Richardson <bruce.richardson at intel.com>



More information about the dev mailing list