From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from firstgate.proxmox.com (firstgate.proxmox.com [212.224.123.68]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by lists.proxmox.com (Postfix) with ESMTPS id 938076345C for ; Mon, 21 Sep 2020 18:51:25 +0200 (CEST) Received: from firstgate.proxmox.com (localhost [127.0.0.1]) by firstgate.proxmox.com (Proxmox) with ESMTP id 8FD4227730 for ; Mon, 21 Sep 2020 18:51:25 +0200 (CEST) Received: from kvmformation1.odiso.net (globalOdiso.M6Lille.odiso.net [89.248.211.242]) by firstgate.proxmox.com (Proxmox) with ESMTP id F09A627708 for ; Mon, 21 Sep 2020 18:51:22 +0200 (CEST) Received: by kvmformation1.odiso.net (Postfix, from userid 0) id 7C4781B90B6; Mon, 21 Sep 2020 18:51:16 +0200 (CEST) From: Alexandre Derumier To: pve-devel@lists.proxmox.com Date: Mon, 21 Sep 2020 18:51:13 +0200 Message-Id: <20200921165115.2930386-2-aderumier@odiso.com> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20200921165115.2930386-1-aderumier@odiso.com> References: <20200921165115.2930386-1-aderumier@odiso.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-SPAM-LEVEL: Spam detection results: 1 AWL -1.150 Adjusted score from AWL reputation of From: address HEADER_FROM_DIFFERENT_DOMAINS 0.249 From and EnvelopeFrom 2nd level mail domains are different KAM_DMARC_STATUS 0.01 Test Rule for DKIM or SPF Failure with Strict Alignment KAM_LAZY_DOMAIN_SECURITY 1 Sending domain does not have any anti-forgery methods KHOP_HELO_FCRDNS 0.4 Relay HELO differs from its IP's reverse DNS NO_DNS_FOR_FROM 0.379 Envelope sender has no MX or A DNS records PDS_BTC_ID 0.499 FP reduced Bitcoin ID SPF_HELO_NONE 0.001 SPF: HELO does not publish an SPF Record SPF_NONE 0.001 SPF: sender does not publish an SPF Record TVD_SPACE_RATIO 0.001 - Subject: [pve-devel] [PATCH ifupdown2 1/3] remove patch 0009-address-don-t-process_mtu-if-ovs-mtu-is-defined.patch X-BeenThere: pve-devel@lists.proxmox.com X-Mailman-Version: 2.1.29 Precedence: list List-Id: Proxmox VE development discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 21 Sep 2020 16:51:25 -0000 upstream : https://github.com/CumulusNetworks/ifupdown2/commit/8994bdd39af6014c6de02cb0d9eb15535af2123e#diff-1481ea1b5d4c5d73242f448fc8412b21 Signed-off-by: Alexandre Derumier --- ...-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 -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 ---- - 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