From 327e26d6892c2ba6ab1c8c00d4dda8aa65ecab38 Mon Sep 17 00:00:00 2001 From: Krzesimir Nowak Date: Wed, 27 May 2015 13:52:31 +0200 Subject: nspawn: close unneeded sockets in outer child (David: Note, this is just a cleanup and doesn't fix any bugs) --- src/nspawn/nspawn.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/nspawn/nspawn.c b/src/nspawn/nspawn.c index 955490b752..8da22e9fd0 100644 --- a/src/nspawn/nspawn.c +++ b/src/nspawn/nspawn.c @@ -2787,6 +2787,8 @@ static int outer_child( } pid_socket = safe_close(pid_socket); + kmsg_socket = safe_close(kmsg_socket); + rtnl_socket = safe_close(rtnl_socket); return 0; } -- cgit v1.2.3-54-g00ecf