This bug is awaiting verification that the linux/6.11.0-24.24 kernel in
-proposed solves the problem. Please test the kernel and update this bug
with the results. If the problem is solved, change the tag
'verification-needed-oracular-linux' to 'verification-done-oracular-
linux'. If the problem still exists, change the tag 'verification-
needed-oracular-linux' to 'verification-failed-oracular-linux'.


If verification is not done by 5 working days from today, this fix will
be dropped from the source code, and this bug will be closed.


See https://wiki.ubuntu.com/Testing/EnableProposed for documentation how
to enable and use -proposed. Thank you!


** Tags added: kernel-spammed-oracular-linux-v2 
verification-needed-oracular-linux

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/2096976

Title:
  ipsec_offload in rtnetlink.sh from ubunsu_kselftests_net fails on O/J

Status in ubuntu-kernel-tests:
  New
Status in linux package in Ubuntu:
  Invalid
Status in linux source package in Jammy:
  Fix Committed
Status in linux source package in Oracular:
  Fix Committed

Bug description:
  [ Impact ]

  selftest: netfilter: after upstream commit 
2cf567f421dbfe7e53b7e5ddee9400da10efb75d
  ipsec_offload test needs its source ip written into  the expected value, 
however the
  complete patchset 
https://lore.kernel.org/lkml/20241010040027.21440-1-liuhang...@gmail.com/
  has a more comprehensive modification so this only fixes the test for the
  current status (only patch 2/3 of the patchset applied).

  Found on Oracular 6.11.0-17.17 and should be found on its derivatives /
  backports.

  Log output:

      # selftests: net: rtnetlink.sh
      # PASS: policy routing
      ---(snip)---
      # PASS: ipsec
      # FAIL: ipsec_offload incorrect driver data
      # FAIL: ipsec_offload
      # PASS: bridge fdb get

  Verbose output should be like:

      COMMAND: modprobe -q netdevsim
      COMMAND: ip x p add dir out src 192.168.123.3/24 dst 192.168.123.4/24 tmpl
  proto esp src 192.168.123.3 dst 192.168.123.4 spi 9 mode transport reqid 42
      COMMAND: ip x p add dir in src 192.168.123.4/24 dst 192.168.123.3/24 tmpl
  proto esp src 192.168.123.4 dst 192.168.123.3 spi 9 mode transport reqid 42
      COMMAND: ip x s add proto esp src 192.168.123.3 dst 192.168.123.4 spi 9 
mode
  transport reqid 42 aead rfc4106(gcm(aes))
  0x3132333435363738393031323334353664636261 128 sel src 192.168.123.3/24 dst
  192.168.123.4/24 offload dev eni0np1 dir out
      COMMAND: ip x s add proto esp src 192.168.123.4 dst 192.168.123.3 spi 9 
mode
  transport reqid 42 aead rfc4106(gcm(aes))
  0x3132333435363738393031323334353664636261 128 sel src 192.168.123.4/24 dst
  192.168.123.3/24 offload dev eni0np1 dir in
      COMMAND: diff /sys/kernel/debug/netdevsim/netdevsim0/ports/0//ipsec -
          2c2
      < sa[0] tx ipaddr=0x00000000 00000000 00000000 047ba8c0
      ---
      > sa[0] tx ipaddr=0x00000000 00000000 00000000 00000000
      FAIL: ipsec_offload incorrect driver data

  [ Fix ]

  Oracular: fixed separately
  Jammy:    fixed separately

  [ Test Plan ]

  Compiled, boot tested and auto-tested on amd64.

  [ Where Problems Could Occur ]

  The fix affects only the failing ipsec_offload of the netfilter test.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu-kernel-tests/+bug/2096976/+subscriptions


-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to     : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to