]> git.ipfire.org Git - thirdparty/lxc.git/commit
network: use static memory for net device names
authorChristian Brauner <christian.brauner@ubuntu.com>
Thu, 31 Aug 2017 22:23:30 +0000 (00:23 +0200)
committerChristian Brauner <christian.brauner@ubuntu.com>
Mon, 4 Sep 2017 11:19:21 +0000 (13:19 +0200)
commitc740c4d44cae8e362c647eb2c2d1f1390d527c97
treecfc82b80942c3aa851c7c902fd0e99b3954bd1ff
parent9d9677174c8a945c033d1426593adee42ba96e7f
network: use static memory for net device names

All network devices can only be of size < IFNAMSIZ. So let's spare the useless
heap allocations and use static memory.

Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
src/lxc/confile.c
src/lxc/confile_utils.c
src/lxc/confile_utils.h
src/lxc/criu.c
src/lxc/network.c
src/lxc/network.h
src/lxc/start.c