Re: [PATCH] domain_nwfilter: Return early if net has no name in virDomainConfNWFilterTeardownImpl

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

 



On Mon, Jul 09, 2018 at 02:40:04PM +0200, Michal Privoznik wrote:
> This function is called from various clean up paths (e.g.
> from qemuBuildInterfaceCommandLine). However, depending on the
> stage the interface creation process failed at, net->ifname might
> still be not filled in when control jumps to cleanup label. If
> that is the case return early (avoiding useless error message
> produced in virNWFilterBindingLookupByPortDev) as there is no
> NWFilter to tear down anyway.
>
> Signed-off-by: Michal Privoznik <mprivozn@xxxxxxxxxx>
> ---
Reviewed-by: Erik Skultety <eskultet@xxxxxxxxxx>

--
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]

  Powered by Linux