libvirt/src/network
Laine Stump e4be156889 network: explicitly set the MTU of the bridge device.
In the past, the MTU of libvirt virtual network bridge devices was
implicitly set by setting the MTU of the "dummy tap device" (which was
being added in order to force a particular MAC address from the
bridge). But the dummy tap device was removed in commit ee6c936fbb
(libvirt-6.8.0), and so the mtu setting in the network is ignored.

The solution is, of course, to explicitly set the bridge device MTU
when it is created.

Note that any guest interface with a larger MTU that is attached will
cause the bridge to (temporarily) assume the larger MTU, but it will
revert to the bridge's own MTU when that device is deleted (this is
not due to anything libvirt does; it's just how Linux host bridges
work).

Fixes: ee6c936fbb
Resolves: https://bugzilla.redhat.com/1913561
Signed-off-by: Laine Stump <laine@redhat.com>
Reviewed-by: Ján Tomko <jtomko@redhat.com>
2021-01-15 12:20:00 -05:00
..
bridge_driver_linux.c network: eliminate unnecessary labels 2020-07-20 19:11:35 -04:00
bridge_driver_nop.c network: force re-creation of iptables private chains on firewalld restart 2020-05-11 22:54:52 -04:00
bridge_driver_platform.c Remove all Author(s): lines from source file headers 2018-12-13 16:08:38 +00:00
bridge_driver_platform.h network: force re-creation of iptables private chains on firewalld restart 2020-05-11 22:54:52 -04:00
bridge_driver.c network: explicitly set the MTU of the bridge device. 2021-01-15 12:20:00 -05:00
bridge_driver.h network: make networkDnsmasqXmlNsDef private to bridge_driver.c 2020-07-04 23:53:48 -04:00
default.xml.in network: Use single quotes in default network configuration 2020-08-04 15:12:18 +02:00
leaseshelper.c leaseshelper: Report errors on failure 2021-01-04 15:33:30 +01:00
libvirt.zone network: explicitly allow icmp/icmpv6 in libvirt zonefile 2019-02-14 15:06:42 -05:00
meson.build network: Drop UUID handling for default network 2020-11-20 11:44:05 +01:00
virtnetworkd.init.in configure: Provide OpenRC scripts for sub-daemons 2019-12-16 10:11:22 +01:00
virtnetworkd.service.in systemd: start libvirtd after firewalld/iptables services 2020-05-05 20:16:02 -04:00
virtnetworkd.sysconf systemd: Move timeout from service files to sysconf files 2020-04-03 11:50:50 +02:00