[PATCH v1 08/12] net/ice: update iteration of TLVs in Preserved Fields Area
Bruce Richardson
bruce.richardson at intel.com
Thu Aug 22 16:45:45 CEST 2024
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.hore at intel.com>
> ---
Is this related to patch 4 of this set? Should they be merged or are they
solving different issues?
More information about the dev
mailing list