Re: [libvirt PATCH] lxc: remove no longer working netns check

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

 



On Tue, Dec 03, 2024 at 04:02:08PM +0000, Leigh Brown wrote:
> Since iproute2 v6.12.0, the command "ip link set lo netns -1" can
> no longer be used to check for netns support, as it now validates
> PIDs are not less than zero.
> 
> Since every kernel we care about has the support, just remove the
> check.
> 
> Signed-off-by: Leigh Brown <leigh@xxxxxxxxxxxxx>
> ---
>  src/lxc/lxc_conf.h   |  1 -
>  src/lxc/lxc_driver.c | 36 ------------------------------------
>  2 files changed, 37 deletions(-)

Reviewed-by: Daniel P. Berrangé <berrange@xxxxxxxxxx>

Thanks for taking the time to contribute the patch after our
discussion on irc !

With regards,
Daniel
-- 
|: https://berrange.com      -o-    https://www.flickr.com/photos/dberrange :|
|: https://libvirt.org         -o-            https://fstop138.berrange.com :|
|: https://entangle-photo.org    -o-    https://www.instagram.com/dberrange :|




[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