Public bug reported: [Impact]
After the linux upstream commit a4abfa627c38 ("net: rtnetlink: Enslave device before bringing it up"), pushed in v6.1, the following set of commands fails: $ ip link add dummy0 type dummy $ ip link add bond0 type bond $ ip link set dummy0 up $ ip link set dummy0 master bond0 down Error: Device can not be enslaved while up. This breaks existing scripts. This problem has been fixed upstream with the commit ec4ffd100ffb ("Revert "net: rtnetlink: Enslave device before bringing it up""). The commit has been backported in upstream stable kernels (v6.1.75, v6.6.14, v6.7.2) but is missing the 23.10 kernel (6.5). [Test Case] $ ip link add dummy0 type dummy $ ip link add bond0 type bond $ ip link set dummy0 up $ ip link set dummy0 master bond0 down => no error should happen [Regression Potential] The patch is a straight revert of the faulty commit, so it goes back to the original code, which has been there for decades. It has been backported successfully in upstream kernels. ** Affects: linux (Ubuntu) Importance: Undecided Status: New ** Description changed: [Impact] - After the linux upstream commit a4abfa627c38 ("net: rtnetlink: Enslave device before bringing it up"), the following set of commands fails: + After the linux upstream commit a4abfa627c38 ("net: rtnetlink: Enslave device before bringing it up"), pushed in v6.1, the following set of commands fails: $ ip link add dummy0 type dummy $ ip link add bond0 type bond $ ip link set dummy0 up $ ip link set dummy0 master bond0 down Error: Device can not be enslaved while up. This breaks existing scripts. This problem has been fixed upstream with the commit ec4ffd100ffb ("Revert "net: rtnetlink: Enslave device before bringing it up""). The commit has been backported in upstream stable kernels (v6.1.75, v6.6.14, v6.7.2) but is missing the 23.10 kernel (6.5). [Test Case] $ ip link add dummy0 type dummy $ ip link add bond0 type bond $ ip link set dummy0 up $ ip link set dummy0 master bond0 down => no error should happen - [Regression Potential] The patch is a straight revert of the faulty commit, so it goes back to the original code, which has been there for decades. It has been backported successfully in upstream kernels. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2064730 Title: bonding: fail to enslave an up interface with one netlink message To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/2064730/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs