On Mon, Jul 24, 2017 at 06:38:15PM +0300, Cyrill Gorcunov wrote: > On Mon, Jul 24, 2017 at 08:34:52AM -0700, Andrei Vagin wrote: > > > > > > -static int iptables_tool_restore(char *def_cmd, int fdin) > > > +static int __iptables_tool_restore(char *def_cmd, int fdin) > > > { > > > + if (join_ve(root_item->pid->real, false)) > > > > Do you switch here into VE0? Could you add a comment? It is not obvious > > that root_item in VE0 at this moment. > > root_item is NOT in ve0 at this moment, the @false argument points > to enter the ve0. > > int join_ve(pid_t pid, bool veX)
Does pid have to be 0 in this case? _______________________________________________ Devel mailing list Devel@openvz.org https://lists.openvz.org/mailman/listinfo/devel