diff options
| author | Jeremy Bicha <jeremy.bicha@canonical.com> | 2022-09-20 13:41:07 -0400 |
|---|---|---|
| committer | Jeremy Bicha <jeremy.bicha@canonical.com> | 2022-09-20 13:41:07 -0400 |
| commit | fef845002865baf399f508cea0cf7563245f0ec1 (patch) | |
| tree | 1133cda4ded97e91e368d0e9adbd2e56aa8bd515 | |
| parent | 9d480fe1a4c3cdb9f2b8228ce8a67803a81631cf (diff) | |
Drop 2 cherry-picked bonding patches: applied in new release
This reverts commit fbdb119adaa44ca41dcab1b4fcd4cb119fd71ef9.
| -rw-r--r-- | debian/patches/bond-fix-missing-assignment-of-lp_interval_has.patch | 30 | ||||
| -rw-r--r-- | debian/patches/libnm-utils-fix-typo-in-bond-ad_select-bandwidth-mode.patch | 28 | ||||
| -rw-r--r-- | debian/patches/series | 3 |
3 files changed, 1 insertions, 60 deletions
diff --git a/debian/patches/bond-fix-missing-assignment-of-lp_interval_has.patch b/debian/patches/bond-fix-missing-assignment-of-lp_interval_has.patch deleted file mode 100644 index 989d7ac7..00000000 --- a/debian/patches/bond-fix-missing-assignment-of-lp_interval_has.patch +++ /dev/null @@ -1,30 +0,0 @@ -From: Fernando Fernandez Mancera <ffmancera@riseup.net> -Date: Thu, 25 Aug 2022 15:18:08 +0200 -Subject: bond: fix missing assignment of lp_interval_has - -The variable `lp_interval` was being assigned instead of -`lp_interval_has`. The `lp_interval` bond option was not being set -correctly. - -https://bugs.launchpad.net/network-manager/+bug/1987001 - -Fixes: e064eb9d1361 ('bond: use netlink to set bond options') -(cherry picked from commit 7d4307e8dfdd6c8d33d35147d593259fbaf0f7bf) -(cherry picked from commit 1b704e2f425ec4199386a8530b60ffbe14898025) ---- - src/core/devices/nm-device-bond.c | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/src/core/devices/nm-device-bond.c b/src/core/devices/nm-device-bond.c -index 41473ab..44bb316 100644 ---- a/src/core/devices/nm-device-bond.c -+++ b/src/core/devices/nm-device-bond.c -@@ -461,7 +461,7 @@ _platform_lnk_bond_init_from_setting(NMSettingBond *s_bond, NMPlatformLnkBond *p - props->peer_notif_delay_has = (props->miimon || props->arp_interval) && props->peer_notif_delay; - props->arp_all_targets_has = props->arp_interval && props->arp_all_targets; - props->resend_igmp_has = props->resend_igmp != 1; -- props->lp_interval = props->lp_interval != 1; -+ props->lp_interval_has = props->lp_interval != 1; - props->tlb_dynamic_lb_has = NM_IN_SET(props->mode, NM_BOND_MODE_TLB, NM_BOND_MODE_ALB); - } - diff --git a/debian/patches/libnm-utils-fix-typo-in-bond-ad_select-bandwidth-mode.patch b/debian/patches/libnm-utils-fix-typo-in-bond-ad_select-bandwidth-mode.patch deleted file mode 100644 index b5f8a0be..00000000 --- a/debian/patches/libnm-utils-fix-typo-in-bond-ad_select-bandwidth-mode.patch +++ /dev/null @@ -1,28 +0,0 @@ -From: Fernando Fernandez Mancera <ffmancera@riseup.net> -Date: Thu, 25 Aug 2022 15:21:44 +0200 -Subject: libnm-utils: fix typo in bond ad_select bandwidth mode - -The correct spelling is `bandwidth` instead of `bandwith`. - -https://bugs.launchpad.net/network-manager/+bug/1987001 - -Fixes: 32870d823379 ('libnm-utils: convert string bond opts to int') -(cherry picked from commit 5f3237acab03de4a3e9d57f50a180c5e4f6af6ca) -(cherry picked from commit f693bc6b71247dd645522ed452035cb0d4d2a795) ---- - src/libnm-core-aux-intern/nm-libnm-core-utils.c | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/src/libnm-core-aux-intern/nm-libnm-core-utils.c b/src/libnm-core-aux-intern/nm-libnm-core-utils.c -index ba05b6c..4fdf9d6 100644 ---- a/src/libnm-core-aux-intern/nm-libnm-core-utils.c -+++ b/src/libnm-core-aux-intern/nm-libnm-core-utils.c -@@ -51,7 +51,7 @@ NM_UTILS_STRING_TABLE_LOOKUP_DEFINE( - } - }, - { return NM_BOND_AD_SELECT_STABLE; }, -- {"bandwith", NM_BOND_AD_SELECT_BANDWIDTH}, -+ {"bandwidth", NM_BOND_AD_SELECT_BANDWIDTH}, - {"count", NM_BOND_AD_SELECT_COUNT}, - {"stable", NM_BOND_AD_SELECT_STABLE}, ); - diff --git a/debian/patches/series b/debian/patches/series index 6006cfcb..1f293f47 100644 --- a/debian/patches/series +++ b/debian/patches/series @@ -4,5 +4,4 @@ Force-online-state-with-unmanaged-devices.patch Provide-access-to-some-of-NM-s-interfaces-to-whoopsie.patch Update-dnsmasq-parameters.patch ubuntu_revert_systemd.patch -bond-fix-missing-assignment-of-lp_interval_has.patch -libnm-utils-fix-typo-in-bond-ad_select-bandwidth-mode.patch + |