[Devel] [PATCH 3/3] net: do iptables restore in ve0

Cyrill Gorcunov gorcunov at virtuozzo.com
Mon Jul 24 19:03:54 MSK 2017


On Mon, Jul 24, 2017 at 06:52:31PM +0300, Stanislav Kinsburskiy wrote:
> 
> >> int join_ve(pid_t pid, bool veX)
> > 
> > Does pid have to be 0 in this case?
> > 
> 
> Maybe interface to this helper should be reworked? 

In criu/cr_restore.c

#define join_veX(pid)	join_ve(pid, true)
#define join_ve0(pid)	join_ve(pid, false)

Just move it to the header, and that;s all

	Cyrill


More information about the Devel mailing list