Re: [PATCH v3 08/12] net/ice: update iteration of TLVs in Preserved Fields Area

2024-08-28 Thread Bruce Richardson
On Fri, Aug 23, 2024 at 09:56:46AM +, Soumyadeep Hore wrote: > From: Fabio Pricoco > > 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

[PATCH v3 08/12] net/ice: update iteration of TLVs in Preserved Fields Area

2024-08-23 Thread Soumyadeep Hore
From: Fabio Pricoco 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 lo