]> git.ipfire.org Git - thirdparty/lxc.git/commit
lxc_unshare: fix network device handling 3897/head
authorChristian Brauner <christian.brauner@ubuntu.com>
Mon, 5 Jul 2021 10:19:31 +0000 (12:19 +0200)
committerChristian Brauner <christian.brauner@ubuntu.com>
Mon, 5 Jul 2021 10:19:31 +0000 (12:19 +0200)
commita1ac26802cde69dc15e696c9e4b65b0a0561a653
tree4e689633683ffab4647693f261cb7e7c53cb0376
parentecd92dffbc9e4d423169c35c3eebebaa2c961f9e
lxc_unshare: fix network device handling

We were passing the wrong PID. Fix this!

Link: https://discuss.linuxcontainers.org/t/problem-with-moving-interface-new-network-namespace-in-lxc-unshare
Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
src/lxc/tools/lxc_unshare.c