net/qede: fix possible uninitialized pointer
authorHarish Patil <harish.patil@cavium.com>
Tue, 25 Apr 2017 07:28:39 +0000 (00:28 -0700)
committerFerruh Yigit <ferruh.yigit@intel.com>
Fri, 28 Apr 2017 12:46:17 +0000 (14:46 +0200)
commit15ccf70af94b1d1801a733f8712390423443465d
tree4f70d7da142805a2722facb51f521e73700bac19
parent680c850f7e517ad8dac789ba8ed8b2705e12fd6a
net/qede: fix possible uninitialized pointer

This defect is a functional issue where the RX CQE pointer remains
uninitialized in the LRO code path which can cause null pointer exception
while accessing VLAN or RSS hash value from CQE.

Coverity issue: 143474
Fixes: 29540be7efce ("net/qede: support LRO/TSO offloads")

Signed-off-by: Harish Patil <harish.patil@cavium.com>
drivers/net/qede/qede_rxtx.c