[Devel] [PATCH rh7] net: Don't nillify ve::ve_netns of ve0 on net exit

Cyrill Gorcunov gorcunov at odin.com
Wed May 13 09:27:17 PDT 2015


On Wed, May 13, 2015 at 06:07:35PM +0300, Cyrill Gorcunov wrote:
> When net-exit routine executes we zap ve::ve_netns member
> but we should not nillify ve0::init_net, it's permanent one.
> 
> https://jira.sw.ru/browse/PSBM-33480
> 
> p.s.: When net unsharing happens on ve0 we do set net->owner_ve
> to ve0, thus on exit we occasionally rip it off causing any
> futher attempts to call unshare on ve0 to fail.

Drop it please. The fix is incomplete. While indeed it fix the
problem on ve0, the nested nets inside container will suffer
with same problem. I'll send update once have it fixed.



More information about the Devel mailing list