net/i40e: fix address of first segment
authorJoyce Kong <joyce.kong@arm.com>
Tue, 24 Sep 2019 05:48:44 +0000 (13:48 +0800)
committerFerruh Yigit <ferruh.yigit@intel.com>
Wed, 23 Oct 2019 14:43:09 +0000 (16:43 +0200)
commitff4f8e24d535df81557f3dcef64d1aef8251f277
tree23043296103b7443315fff8c3f38cbfad70ade7a
parent41eb707e822c2ac1d260c1cf53ceaba902fa6908
net/i40e: fix address of first segment

This patch fixes (dereference after null check) coverity issue.
The address of first segmented packets was not set correctly during
reassembling packets which led to this issue.

Coverity issue: 343422, 343403
Fixes: ca74903b75cf ("net/i40e: extract non-x86 specific code from vector driver")
Cc: stable@dpdk.org
Signed-off-by: Joyce Kong <joyce.kong@arm.com>
Reviewed-by: Xiao Zhang <xiao.zhang@intel.com>
Reviewed-by: Xiaolong Ye <xiaolong.ye@intel.com>
drivers/net/i40e/i40e_rxtx_vec_neon.c