]> git.ipfire.org Git - thirdparty/systemd.git/commit - src/nspawn/nspawn.c
nspawn: resolve network interface names before moving to container network namespace 31109/head
authorYu Watanabe <watanabe.yu+github@gmail.com>
Sat, 27 Jan 2024 18:27:41 +0000 (03:27 +0900)
committerYu Watanabe <watanabe.yu+github@gmail.com>
Tue, 30 Jan 2024 11:37:13 +0000 (20:37 +0900)
commita342d9e0875704136a7f8c4bf00f46782917e15e
treec233bf2779bfcf5af93cc28af887cf9ff8c757eb
parent3652891c3904992e21739e9bfb004073841db63c
nspawn: resolve network interface names before moving to container network namespace

To escape a kernel issue fixed by
https://github.com/torvalds/linux/commit/8e15aee621618a3ee3abecaf1fd8c1428098b7ef,
let's resolve provided interface names earlier, and adjust the interface
name pairs with the result.

Fixes #31104.
src/nspawn/nspawn-network.c
src/nspawn/nspawn-network.h
src/nspawn/nspawn.c