[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <dd2a5ae913a84a36bded3dfeb4dbe466@huawei.com>
Date: Mon, 28 Aug 2023 02:12:12 +0000
From: mengkanglai <mengkanglai2@...wei.com>
To: Steffen Klassert <steffen.klassert@...unet.com>, Herbert Xu
<herbert@...dor.apana.org.au>, "David S. Miller" <davem@...emloft.net>, "Eric
Dumazet" <edumazet@...gle.com>, Jakub Kicinski <kuba@...nel.org>, Paolo Abeni
<pabeni@...hat.com>, "netdev@...r.kernel.org" <netdev@...r.kernel.org>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>
CC: "Fengtao (fengtao, Euler)" <fengtao40@...wei.com>, "Yanan (Euler)"
<yanan@...wei.com>
Subject: ltp testcases failed due to commit cf3128a7aca
When I run latest ltp testcase testcases/network/stress/udp/uni-basic/udp6-uni-basic07 with latest kernel 6.5, it failed in “ltpapicmd.c:188: Failed to configure SAD/SPD on the local host”.
I found that the reason for failure was this command:
output_ipsec_conf src \
$IPSEC_PROTO $IPSEC_MODE $SPI $lhost_addr $rhost_addr \
| setkey -c 2>&1 | tee $ipsec_log
This command eventually use setkey -c to add spdadd entry failed:
spdadd $src_ipaddr $dst_ipaddr any
-P out ipsec $protocol/tunnel/${src_ipaddr}-${dst_ipaddr}/use ;
It returns Invalid argument.
I found this failed due to commit cf3128a7aca(af_key: Reject optional tunnel/BEET mode templates in outbound policies), is latest ltp testcases are not adapted?
Powered by blists - more mailing lists