[PATCH 24.11] dts: add reception check to checksum suite

Kevin Traynor ktraynor at redhat.com
Fri Oct 31 19:02:17 CET 2025


On 31/10/2025 17:44, Dean Marx wrote:
> [ upstream commit 89b634c9cf001570a7a1b1992ea6992c4181b8d7 ]
> 
> In the current implementation of Checksum Offload, the variables
> is_L4 and is_IP are not initialized outside of the loop that
> checks the received packet, so if the packet is dropped these
> variables cause a NameError in the verification steps.
> Add a line that sets these variables to None prior to the check,
> then verifies they are not None directly after.
> 
> Fixes: 8c9a7471a0e6 ("dts: add checksum offload test suite")
> 
> Signed-off-by: Dean Marx <dmarx at iol.unh.edu>
> Reviewed-by: Patrick Robb <probb at iol.unh.edu>
> Reviewed-by: Luca Vizzarro <luca.vizzarro at arm.com>
> ---
>  dts/tests/TestSuite_checksum_offload.py | 13 +++++++++----
>  1 file changed, 9 insertions(+), 4 deletions(-)

Thanks Dean. I have queued this up and will push to the branch next week.

regards,
Kevin.



More information about the stable mailing list