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 for Android: free password hash cracker in your pocket
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <1425056158.5130.17.camel@edumazet-glaptop2.roam.corp.google.com>
Date:	Fri, 27 Feb 2015 08:55:58 -0800
From:	Eric Dumazet <eric.dumazet@...il.com>
To:	nicolas.dichtel@...nd.com
Cc:	Cong Wang <xiyou.wangcong@...il.com>, netdev@...r.kernel.org
Subject: Re: [Patch net] netns: avoid allocating idr when dumping info

On Fri, 2015-02-27 at 17:25 +0100, Nicolas Dichtel wrote:

> That's true. The patch does not cover the following case:
> ip link add foo type bar
> ip link set foo netns netns1
> 
> In this case, the second command will call dev_change_net_namespace() and the
> id will not be allocated.
> 
> I think Eric's patch is simpler and less error-prone.
> 
> FWIW, I will be off for one week and probably without any internet access ;-)

I am cooking an official patch right now, thanks !


--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Powered by blists - more mailing lists