socket: Warn via debug message if local port namespace is exhausted
Signed-off-by: Thomas Graf <tgraf@suug.ch>
This commit is contained in:
parent
cd1c1e1041
commit
2d0810eb93
1 changed files with 1 additions and 0 deletions
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue