[PATCH v1 08/12] net/ice: update iteration of TLVs in Preserved Fields Area
Hore, Soumyadeep
soumyadeep.hore at intel.com
Fri Aug 23 08:55:31 CEST 2024
Hi Bruce, they should not be merged, they are solving different issues.
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