net/fm10k: fix address of first segment
authorXiao Zhang <xiao.zhang@intel.com>
Mon, 5 Aug 2019 23:20:54 +0000 (07:20 +0800)
committerQi Zhang <qi.z.zhang@intel.com>
Tue, 6 Aug 2019 11:30:53 +0000 (13:30 +0200)
commit1c38061e790fc3f28d77eb7ded6cb8601c7c6692
tree5adea31d77d4d508fe9f00d008cc4ac1547f5a0e
parentba38f91468a896d9363e92261cbf17c6517e098a
net/fm10k: 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: 343416
Fixes: fe65e1e1ce61 ("fm10k: add vector scatter Rx")
Cc: stable@dpdk.org
Signed-off-by: Xiao Zhang <xiao.zhang@intel.com>
Acked-by: Xiaolong Ye <xiaolong.ye@intel.com>
drivers/net/fm10k/fm10k_rxtx_vec.c