lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <2ab25704-d8aa-1532-a07a-c1765b937d66@6wind.com>
Date:   Thu, 15 Sep 2016 15:26:18 +0200
From:   Nicolas Dichtel <nicolas.dichtel@...nd.com>
To:     Anton Aksola <aakso@....fi>, netdev@...r.kernel.org
Subject: Re: [PATCH] iproute2: build nsid-name cache only for commands that
 need it

Le 15/09/2016 à 10:23, Anton Aksola a écrit :
[snip]
> --- a/ip/ipnetns.c
> +++ b/ip/ipnetns.c
> @@ -775,8 +775,6 @@ static int netns_monitor(int argc, char **argv)
>  
>  int do_netns(int argc, char **argv)
>  {
> -	netns_map_init();
> -
>  	if (argc < 1)
>  		return netns_list(0, NULL);
>  
> @@ -784,8 +782,10 @@ int do_netns(int argc, char **argv)
>  	    (matches(*argv, "lst") == 0))
>  		return netns_list(argc-1, argv+1);
>  
> -	if ((matches(*argv, "list-id") == 0))
> +	if ((matches(*argv, "list-id") == 0)) {
> +		netns_map_init();
>  		return netns_list_id(argc-1, argv+1);
> +	}
'ip netns' (ip netns list) also need it.

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ