]> git.ipfire.org Git - thirdparty/lxc.git/commit
lxc_spawn: initialize netpipe
authorSerge Hallyn <serge.hallyn@ubuntu.com>
Sat, 5 Apr 2014 02:26:16 +0000 (21:26 -0500)
committerStéphane Graber <stgraber@ubuntu.com>
Mon, 7 Apr 2014 21:06:26 +0000 (17:06 -0400)
commita6d106e39e439410dd920278371235767b9a6a08
tree2f8f06530c5c8b78c1175f3beacb39ea34540b36
parente89ed2acface38ada52cb3900e26cb64cfc34fcd
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