mirror of
https://git.proxmox.com/git/ifupdown2
synced 2025-04-28 17:09:34 +00:00
remove patch 0009-address-don-t-process_mtu-if-ovs-mtu-is-defined.patch
upstream : 8994bdd39a (diff-1481ea1b5d4c5d73242f448fc8412b21)
Signed-off-by: Alexandre Derumier <aderumier@odiso.com>
This commit is contained in:
parent
6b1d95157e
commit
8ed59fd74a
@ -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
|
||||
|
1
debian/patches/series
vendored
1
debian/patches/series
vendored
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user