socket: Warn via debug message if local port namespace is exhausted

Signed-off-by: Thomas Graf <tgraf@suug.ch>
This commit is contained in:
Thomas Graf 2013-06-28 18:53:16 +02:00
parent cd1c1e1041
commit 2d0810eb93

View file

@ -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;
}