From: Thomas Graf Date: Fri, 28 Jun 2013 16:53:16 +0000 (+0200) Subject: socket: Warn via debug message if local port namespace is exhausted X-Git-Tag: libnl3_2_23rc1~37 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=2d0810eb93704defb2375d9861892d6041da4623;p=libnl socket: Warn via debug message if local port namespace is exhausted Signed-off-by: Thomas Graf --- 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; }