net/i40e: fix address of first segment
authorXiao Zhang <xiao.zhang@intel.com>
Mon, 5 Aug 2019 23:20:52 +0000 (07:20 +0800)
committerQi Zhang <qi.z.zhang@intel.com>
Tue, 6 Aug 2019 11:30:10 +0000 (13:30 +0200)
commit4916f63985ddb56af43980252d1134d051523685
treecbde20089e7a964b88a2568415d659616254e7d7
parent91342addd15fdfe47273feb784ab58c48609098a
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: Xiao Zhang <xiao.zhang@intel.com>
Acked-by: Xiaolong Ye <xiaolong.ye@intel.com>
drivers/net/i40e/i40e_rxtx_vec_avx2.c
drivers/net/i40e/i40e_rxtx_vec_sse.c