]> git.proxmox.com Git - mirror_lxc.git/commit - src/lxc/start.c
lxc_spawn: initialize netpipe
authorSerge Hallyn <serge.hallyn@ubuntu.com>
Sat, 5 Apr 2014 02:26:16 +0000 (21:26 -0500)
committerSerge Hallyn <serge.hallyn@ubuntu.com>
Sat, 5 Apr 2014 02:26:16 +0000 (21:26 -0500)
commit2f2623ec2b5d44d72123c72fb5471d96281fabe9
tree876dcd886d8d20a90cc07f5bc313bf371e6fd1e7
parent21ca73b980b0888edaed6e1674870c28c1f515d8
lxc_spawn: initialize netpipe

When rebooting an unprivileged container, netpipe starts out
as not -1.  If count_veths somehow changed this could lead
to trying to send data over nonexistent pipe.  (Ok can't
*really* happen, as it currently stands, but it's an open
end)

Signed-off-by: Serge Hallyn <serge.hallyn@ubuntu.com>
src/lxc/start.c