** Description changed:

  [Impact]
  
  An xfrm interface cannot be changed any more since Ubuntu-hwe-5.4-5.4.0-105. 
In fact, the regression has been introduced by this backport:
  https://kernel.ubuntu.com/git/ubuntu/ubuntu-focal.git/commit/?id=13a02539b135
  
  It has been fixed upstream by this commit:
  
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=6d0d95a1c2b0
  
  [Test Case]
  
  root@dut-vm:~# ip link add foo type xfrm if_id 1234 dev lo
- root@dut-vm:~# ip link change foo type xfrm if_id 1234 dev ntfp1
+ root@dut-vm:~# ip link change foo type xfrm if_id 5678 dev lo
  Error: if_id must be non zero.
  root@dut-vm:~# uname -a
  Linux dut-vm 5.4.0-107-generic #121~18.04.1-Ubuntu SMP Thu Mar 24 17:21:33 
UTC 2022 x86_64 x86_64 x86_64 GNU/Linux
  root@dut-vm:~#
  
  [Regression Potential]
  
  The patch is trivial, the potential regressions are low.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1968591

Title:
  xfrm interface cannot be changed anymore

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1968591/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to