patches for DPDK stable branches
 help / color / mirror / Atom feed
From: Kevin Traynor <ktraynor@redhat.com>
To: Dean Marx <dmarx@iol.unh.edu>, probb@iol.unh.edu
Cc: stable@dpdk.org, Luca Vizzarro <luca.vizzarro@arm.com>
Subject: Re: [PATCH 24.11] dts: add reception check to checksum suite
Date: Fri, 31 Oct 2025 18:02:17 +0000	[thread overview]
Message-ID: <2d65a63d-0f74-414d-b365-b1416de9d820@redhat.com> (raw)
In-Reply-To: <20251031174414.85492-1-dmarx@iol.unh.edu>

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@iol.unh.edu>
> Reviewed-by: Patrick Robb <probb@iol.unh.edu>
> Reviewed-by: Luca Vizzarro <luca.vizzarro@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.


      reply	other threads:[~2025-10-31 18:02 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-10-31 17:44 Dean Marx
2025-10-31 18:02 ` Kevin Traynor [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=2d65a63d-0f74-414d-b365-b1416de9d820@redhat.com \
    --to=ktraynor@redhat.com \
    --cc=dmarx@iol.unh.edu \
    --cc=luca.vizzarro@arm.com \
    --cc=probb@iol.unh.edu \
    --cc=stable@dpdk.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).