On Thu, Aug 22, 2024 at 09:56:08AM +0000, Soumyadeep Hore wrote: > Correct the logic for determining the maximum PFA offset to include the > extra last word. Additionally, make the driver robust against overflows > by using check_add_overflow. This ensures that even if the NVM > provides bogus data, the driver will not overflow, and will instead log > a useful warning message. The check for whether the TLV length exceeds the > PFA length is also removed, in favor of relying on the overflow warning > instead. > > Signed-off-by: Soumyadeep Hore <soumyadeep.h...@intel.com> > --- Is this related to patch 4 of this set? Should they be merged or are they solving different issues?
- [PATCH v1 00/12] Align ICE shared code with Base driver Soumyadeep Hore
- [PATCH v1 01/12] net/ice: use correct format specifi... Soumyadeep Hore
- [PATCH v1 02/12] net/ice: updates for ptp init GNRD Soumyadeep Hore
- [PATCH v1 03/12] net/ice: add new tag definitions Soumyadeep Hore
- [PATCH v1 04/12] net/ice: avoid reading past end of ... Soumyadeep Hore
- Re: [PATCH v1 04/12] net/ice: avoid reading past... Bruce Richardson
- [PATCH v1 05/12] net/ice: update PTP init Soumyadeep Hore
- [PATCH v1 06/12] net/ice: address compilation errors Soumyadeep Hore
- [PATCH v1 07/12] net/ice: fix link speed for 200G Soumyadeep Hore
- [PATCH v1 08/12] net/ice: update iteration of TLVs i... Soumyadeep Hore
- Re: [PATCH v1 08/12] net/ice: update iteration o... Bruce Richardson
- RE: [PATCH v1 08/12] net/ice: update iterati... Hore, Soumyadeep
- [PATCH v1 09/12] net/ice: correct Tx Scheduler AQ co... Soumyadeep Hore
- [PATCH v1 10/12] net/ice: support optional flags in ... Soumyadeep Hore
- [PATCH v1 11/12] net/ice: update E830 50G branding s... Soumyadeep Hore
- [PATCH v1 12/12] net/ice: add support for FEC auto-d... Soumyadeep Hore
- [PATCH v2 00/12] Align ICE shared code with Base dri... Soumyadeep Hore
- [PATCH v2 01/12] net/ice: use correct format spe... Soumyadeep Hore
- [PATCH v2 02/12] net/ice: updates for ptp init i... Soumyadeep Hore
- [PATCH v2 03/12] net/ice: add new tag definition... Soumyadeep Hore
- [PATCH v2 04/12] net/ice: avoid reading past end... Soumyadeep Hore