There is no consistent policy on closing the socket file descriptor when net/socket.c initialization fails. This has been on my TODO list for a while and I had a few minutes to fix it now.
Stefan Hajnoczi (2): net: expand tabs in net/socket.c net: take ownership of fd in socket init functions net/socket.c | 88 ++++++++++++++++++++++++++++++--------------------------- 1 files changed, 46 insertions(+), 42 deletions(-) -- 1.7.7.3