Re: [PATCH] network: don't add iptables rules for externally managed networks

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 12/09/2011 02:59 PM, Laine Stump wrote:
> From: Laine Stump <laine@xxxxxxxxxx>
> 
> This patch addresses https://bugzilla.redhat.com/show_bug.cgi?id=760442
> 
> When a network has any forward type other than route, nat or none, the
> network configuration should be done completely external to libvirt -
> libvirt only uses these types to allow configuring guests in a manner
> that isn't tied to a specific host (all the host-specific information,
> in particular interface names, port profile data, and bandwidth
> configuration is in the network definition, and the guest
> configuration only references it).
> 
> Due to a bug in the bridge network driver, libvirt was adding iptables
> rules for networks with forward type='bridge' etc. any time libvirtd
> was restarted while one of these networks was active.
> 
> This patch eliminates that error by only "reloading" iptables rules if
> forward type is route, nat, or none.
> ---
>  src/network/bridge_driver.c |   18 +++++++++++++-----
>  1 files changed, 13 insertions(+), 5 deletions(-)

ACK.

-- 
Eric Blake   eblake@xxxxxxxxxx    +1-919-301-3266
Libvirt virtualization library http://libvirt.org

Attachment: signature.asc
Description: OpenPGP digital signature

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list

[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]