Re: [PATCH] bnxt_en: don't update cpr->rx_bytes with uninitialized length len

2018-01-16 Thread David Miller
From: Colin King Date: Tue, 16 Jan 2018 10:22:50 + > From: Colin Ian King > > Currently in the cases where cmp_type == CMP_TYPE_RX_L2_TPA_START_CMP or > CMP_TYPE_RX_L2_TPA_END_CMP the exit path updates cpr->rx_bytes with an > uninitialized length len. Fix this by adding a new exit path tha

Re: [PATCH] bnxt_en: don't update cpr->rx_bytes with uninitialized length len

2018-01-16 Thread Michael Chan
On Tue, Jan 16, 2018 at 2:22 AM, Colin King wrote: > From: Colin Ian King > > Currently in the cases where cmp_type == CMP_TYPE_RX_L2_TPA_START_CMP or > CMP_TYPE_RX_L2_TPA_END_CMP the exit path updates cpr->rx_bytes with an > uninitialized length len. Fix this by adding a new exit path that does