From: Alexandre Derumier <aderumier@odiso.com>
To: pve-devel@lists.proxmox.com
Subject: [pve-devel] [PATCH ifupdown2 1/3] remove patch 0009-address-don-t-process_mtu-if-ovs-mtu-is-defined.patch
Date: Mon, 21 Sep 2020 18:51:13 +0200 [thread overview]
Message-ID: <20200921165115.2930386-2-aderumier@odiso.com> (raw)
In-Reply-To: <20200921165115.2930386-1-aderumier@odiso.com>
upstream : https://github.com/CumulusNetworks/ifupdown2/commit/8994bdd39af6014c6de02cb0d9eb15535af2123e#diff-1481ea1b5d4c5d73242f448fc8412b21
Signed-off-by: Alexandre Derumier <aderumier@odiso.com>
---
...-t-process_mtu-if-ovs-mtu-is-defined.patch | 32 -------------------
debian/patches/series | 1 -
2 files changed, 33 deletions(-)
delete mode 100644 debian/patches/pve/0009-address-don-t-process_mtu-if-ovs-mtu-is-defined.patch
diff --git a/debian/patches/pve/0009-address-don-t-process_mtu-if-ovs-mtu-is-defined.patch b/debian/patches/pve/0009-address-don-t-process_mtu-if-ovs-mtu-is-defined.patch
deleted file mode 100644
index d12a6ed..0000000
--- a/debian/patches/pve/0009-address-don-t-process_mtu-if-ovs-mtu-is-defined.patch
+++ /dev/null
@@ -1,32 +0,0 @@
-From 54dbee161aa2fd281046386c10123222b790ebfc Mon Sep 17 00:00:00 2001
-From: Alexandre Derumier <aderumier@odiso.com>
-Date: Wed, 3 Jun 2020 13:06:14 +0200
-Subject: [PATCH] address: don't process_mtu if ovs-mtu is defined
-
-Openvswitch already manage mtu if ovs-mtu is defined.
-(Ovs manage mtu in userland, and sync mtu for some interfaces in kernel).
-
-Signed-off-by: Alexandre Derumier <aderumier@odiso.com>
----
- ifupdown2/addons/address.py | 5 +++++
- 1 file changed, 5 insertions(+)
-
-diff --git a/ifupdown2/addons/address.py b/ifupdown2/addons/address.py
-index 6578ebb..9a20c9e 100644
---- a/ifupdown2/addons/address.py
-+++ b/ifupdown2/addons/address.py
-@@ -881,6 +881,11 @@ class address(Addon, moduleBase):
-
- def process_mtu(self, ifaceobj, ifaceobj_getfunc):
- mtu_str = ifaceobj.get_attr_value_first('mtu')
-+
-+ ovs_mtu = ifaceobj.get_attr_value_first('ovs-mtu')
-+ if ovs_mtu:
-+ return
-+
- mtu_from_policy = False
-
- if not mtu_str:
---
-2.20.1
-
diff --git a/debian/patches/series b/debian/patches/series
index b454408..a83e94e 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -6,5 +6,4 @@ pve/0005-ifreload-down-up-vxlan-interfaces-when-ifreload_down.patch
pve/0006-config-tuning.patch
pve/0007-networking.service-fix-dependencies-and-ordering.patch
pve/0008-openvswitch-ovs-ports-condone-regex-exclude-tap-veth.patch
-pve/0009-address-don-t-process_mtu-if-ovs-mtu-is-defined.patch
pve/0010-postinst-rm-update-network-config-compatibility.patch
--
2.20.1
next prev parent reply other threads:[~2020-09-21 16:51 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-09-21 16:51 [pve-devel] [PATCH ifupdown2 0/3] update to last master + fixes Alexandre Derumier
2020-09-21 16:51 ` Alexandre Derumier [this message]
2020-09-21 16:51 ` [pve-devel] [PATCH ifupdown2 2/3] patch: allow vlan tag inside vxlan tunnel Alexandre Derumier
2020-09-21 16:51 ` [pve-devel] [PATCH ifupdown2 3/3] update patch10: only rewrite config on first ifupdown2 Alexandre Derumier
2020-09-25 7:30 ` [pve-devel] applied: [PATCH ifupdown2 0/3] update to last master + fixes Thomas Lamprecht
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20200921165115.2930386-2-aderumier@odiso.com \
--to=aderumier@odiso.com \
--cc=pve-devel@lists.proxmox.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox