From: Matthieu Baerts <matthieu.baerts@tessares.net>
To: Magali Lemes <magali.lemes@canonical.com>
Cc: davem@davemloft.net, edumazet@google.com, kuba@kernel.org,
pabeni@redhat.com, shuah@kernel.org, dsahern@gmail.com,
andrei.gherzan@canonical.com, netdev@vger.kernel.org,
David Ahern <dsahern@kernel.org>,
linux-kselftest@vger.kernel.org, linux-kernel@vger.kernel.org,
Stephen Rothwell <sfr@canb.auug.org.au>,
Guillaume Nault <gnault@redhat.com>
Subject: Re: [PATCH v4 4/4] selftests: net: fcnal-test: check if FIPS mode is enabled: manual merge
Date: Fri, 16 Jun 2023 21:33:15 +0200 [thread overview]
Message-ID: <5007b52c-dd16-dbf6-8d64-b9701bfa498b@tessares.net> (raw)
In-Reply-To: <20230613123222.631897-5-magali.lemes@canonical.com>
[-- Attachment #1: Type: text/plain, Size: 1521 bytes --]
Hi Magali,
On 13/06/2023 14:32, Magali Lemes wrote:
> There are some MD5 tests which fail when the kernel is in FIPS mode,
> since MD5 is not FIPS compliant. Add a check and only run those tests
> if FIPS mode is not enabled.
>
> Fixes: f0bee1ebb5594 ("fcnal-test: Add TCP MD5 tests")
> Fixes: 5cad8bce26e01 ("fcnal-test: Add TCP MD5 tests for VRF")
> Reviewed-by: David Ahern <dsahern@kernel.org>
> Signed-off-by: Magali Lemes <magali.lemes@canonical.com>
Thank you for your patch!
FYI, we got a small conflict when merging 'net' in 'net-next' in the
MPTCP tree due to this patch applied in 'net':
d7a2fc1437f7 ("selftests: net: fcnal-test: check if FIPS mode is enabled")
and this one from 'net-next':
dd017c72dde6 ("selftests: fcnal: Test SO_DONTROUTE on TCP sockets.")
----- Generic Message -----
The best is to avoid conflicts between 'net' and 'net-next' trees but if
they cannot be avoided when preparing patches, a note about how to fix
them is much appreciated.
The conflict has been resolved on our side[1] and the resolution we
suggest is attached to this email. Please report any issues linked to
this conflict resolution as it might be used by others. If you worked on
the mentioned patches, don't hesitate to ACK this conflict resolution.
---------------------------
Regarding this conflict, I simply took the modifications from both sides.
Cheers,
Matt
[1] https://github.com/multipath-tcp/mptcp_net-next/commit/502f061b9a02
--
Tessares | Belgium | Hybrid Access Solutions
www.tessares.net
[-- Attachment #2: 502f061b9a02bc02a62d4e136e65514211dc63c5.patch --]
[-- Type: text/x-patch, Size: 502 bytes --]
diff --cc tools/testing/selftests/net/fcnal-test.sh
index 05b5c4af7a08,ee6880ac3e5e..d32a14ba069a
--- a/tools/testing/selftests/net/fcnal-test.sh
+++ b/tools/testing/selftests/net/fcnal-test.sh
@@@ -1283,10 -1223,7 +1290,10 @@@ ipv4_tcp_novrf(
run_cmd nettest -d ${NSA_DEV} -r ${a}
log_test_addr ${a} $? 1 "No server, device client, local conn"
- ipv4_tcp_md5_novrf
+ [ "$fips_enabled" = "1" ] || ipv4_tcp_md5_novrf
+
+ ipv4_tcp_dontroute 0
+ ipv4_tcp_dontroute 2
}
ipv4_tcp_vrf()
next prev parent reply other threads:[~2023-06-16 19:33 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-06-13 12:32 [PATCH v4 0/4] Check if FIPS mode is enabled when running selftests Magali Lemes
2023-06-13 12:32 ` [PATCH v4 1/4] selftests/harness: allow tests to be skipped during setup Magali Lemes
2023-06-13 12:32 ` [PATCH v4 2/4] selftests: net: tls: check if FIPS mode is enabled Magali Lemes
2023-06-13 12:32 ` [PATCH v4 3/4] selftests: net: vrf-xfrm-tests: change authentication and encryption algos Magali Lemes
2023-06-13 12:32 ` [PATCH v4 4/4] selftests: net: fcnal-test: check if FIPS mode is enabled Magali Lemes
2023-06-16 19:33 ` Matthieu Baerts [this message]
2023-06-16 20:16 ` [PATCH v4 4/4] selftests: net: fcnal-test: check if FIPS mode is enabled: manual merge Matthieu Baerts
2023-06-16 5:30 ` [PATCH v4 0/4] Check if FIPS mode is enabled when running selftests patchwork-bot+netdevbpf
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=5007b52c-dd16-dbf6-8d64-b9701bfa498b@tessares.net \
--to=matthieu.baerts@tessares.net \
--cc=andrei.gherzan@canonical.com \
--cc=davem@davemloft.net \
--cc=dsahern@gmail.com \
--cc=dsahern@kernel.org \
--cc=edumazet@google.com \
--cc=gnault@redhat.com \
--cc=kuba@kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-kselftest@vger.kernel.org \
--cc=magali.lemes@canonical.com \
--cc=netdev@vger.kernel.org \
--cc=pabeni@redhat.com \
--cc=sfr@canb.auug.org.au \
--cc=shuah@kernel.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