mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* ltp testcases failed due to commit cf3128a7aca
@ 2023-08-28  2:12 mengkanglai
  2023-08-28  3:06 ` Herbert Xu
  0 siblings, 1 reply; 2+ messages in thread
From: mengkanglai @ 2023-08-28  2:12 UTC (permalink / raw)
  To: Steffen Klassert, Herbert Xu, David S. Miller, Eric Dumazet,
	Jakub Kicinski, Paolo Abeni, netdev, linux-kernel
  Cc: Fengtao (fengtao, Euler), Yanan (Euler)

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? 

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2023-08-28  3:07 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-08-28  2:12 ltp testcases failed due to commit cf3128a7aca mengkanglai
2023-08-28  3:06 ` Herbert Xu

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®