From 2d0810eb93704defb2375d9861892d6041da4623 Mon Sep 17 00:00:00 2001 From: Thomas Graf Date: Fri, 28 Jun 2013 18:53:16 +0200 Subject: [PATCH] socket: Warn via debug message if local port namespace is exhausted Signed-off-by: Thomas Graf --- lib/socket.c | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/socket.c b/lib/socket.c index 1ca7783..00d8d6a 100644 --- a/lib/socket.c +++ b/lib/socket.c @@ -89,6 +89,7 @@ static uint32_t generate_local_port(void) nl_write_unlock(&port_map_lock); /* Out of sockets in our own PID namespace, what to do? FIXME */ + NL_DBG(1, "Warning: Ran out of unique local port namespace\n"); return UINT_MAX; }