Linux Test Project
 help / color / mirror / Atom feed
From: linuxtestproject.agent@gmail.com
To: Martin Doucha <mdoucha@suse.cz>
Cc: ltp@lists.linux.it
Subject: Re: [LTP] lapi/xfrm.h: Include system XFRM header
Date: Mon,  1 Jun 2026 13:42:50 +0000	[thread overview]
Message-ID: <20260601134250.4161-1-linuxtestproject.agent@gmail.com> (raw)
In-Reply-To: <20260601132055.58728-2-mdoucha@suse.cz>

Hi Martin,

On Mon, 1 Jun 2026 15:20:46 +0200, Martin Doucha wrote:
> lapi/xfrm.h: Include system XFRM header

--- [PATCH 2/6] ---

> xfrm01: Use NETDEV_SET_STATE() to activate loopback
>
> Signed-off-by: Martin Doucha <mdoucha@suse.cz>

The body is missing. The subject states what changed, but not why.
What is the motivation for switching from tst_cmd() to
NETDEV_SET_STATE() here? Patches 3-6 remove the "ip" command
dependency entirely, so presumably this is a step toward that goal,
but this commit stands alone and should explain the reason.

This patch needs revision.

Pre-existing issues noticed in the surrounding code (not introduced
by this patch):

- testcases/network/sockets/xfrm02.c in try_corrupt() -- usleep(30000)
  used to wait for the espintcp strparser to process buffered data.
  Ground Rule 2 prohibits sleep-based synchronization. An
  exponential-backoff polling loop on the processed data would be
  more robust under load.

- testcases/network/sockets/xfrm03.c in try_corrupt() -- same
  usleep(30000) for the same reason.

---
Note:

The agent can sometimes produce false positives although often its
findings are genuine. If you find issues with the review, please
comment this email or ignore the suggestions.

Regards,
LTP AI Reviewer

-- 
Mailing list info: https://lists.linux.it/listinfo/ltp

  reply	other threads:[~2026-06-01 13:43 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-06-01 13:20 [LTP] [PATCH v2 0/6] Configure XFRM encryption using direct netlink requests Martin Doucha
2026-06-01 13:20 ` [LTP] [PATCH v2 1/6] lapi/xfrm.h: Include system XFRM header Martin Doucha
2026-06-01 13:42   ` linuxtestproject.agent [this message]
2026-06-01 13:20 ` [LTP] [PATCH v2 2/6] xfrm01: Use NETDEV_SET_STATE() to activate loopback Martin Doucha
2026-06-01 13:20 ` [LTP] [PATCH v2 3/6] xfrm01: Configure xfrm using direct netlink request Martin Doucha
2026-06-01 13:20 ` [LTP] [PATCH v2 4/6] lapi/udp.h: Add fallback constant for ESP-in-TCP Martin Doucha
2026-06-01 13:20 ` [LTP] [PATCH v2 5/6] xfrm02: Configure xfrm using direct netlink request Martin Doucha
2026-06-01 13:20 ` [LTP] [PATCH v2 6/6] xfrm03: " Martin Doucha
2026-06-04 13:59 ` [LTP] [PATCH v2 0/6] Configure XFRM encryption using direct netlink requests Cyril Hrubis

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=20260601134250.4161-1-linuxtestproject.agent@gmail.com \
    --to=linuxtestproject.agent@gmail.com \
    --cc=ltp@lists.linux.it \
    --cc=mdoucha@suse.cz \
    /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