]> git.ipfire.org Git - thirdparty/systemd.git/commit - src/nspawn/nspawn-network.c
nspawn: explicitly remove veth links we created after use 3111/head
authorLennart Poettering <lennart@poettering.net>
Mon, 25 Apr 2016 11:42:20 +0000 (13:42 +0200)
committerLennart Poettering <lennart@poettering.net>
Mon, 25 Apr 2016 11:44:24 +0000 (13:44 +0200)
commitef3b2aa7a16cae897390feda791675c9fb2e8116
treed971c138bb0cbf5a421a6e4ebe7c41330685a361
parentfa647aa978a1fb6408798e365617529c2b7e53c7
nspawn: explicitly remove veth links we created after use

Sometimes the kernel keeps veth links pinned after the namespace they have been
joined to died. Let's hence explicitly remove veth links after use.

Fixes: #2173
src/nspawn/nspawn-network.c
src/nspawn/nspawn-network.h
src/nspawn/nspawn.c