Skip to content
Snippets Groups Projects
Commit 0a176989 authored by deen's avatar deen
Browse files

ulnds/socklnd must close open socket after unsuccessful

'say hello' attempt.

b=13279
i=maxim
i=adilger
parent 86835fab
No related merge requests found
...@@ -12,6 +12,14 @@ ...@@ -12,6 +12,14 @@
mxlnd - MX 1.2.1 or later mxlnd - MX 1.2.1 or later
ptllnd - Portals 3.3 / UNICOS/lc 1.5.x, 2.0.x ptllnd - Portals 3.3 / UNICOS/lc 1.5.x, 2.0.x
Severity : normal
Bugzilla : 13279
Description: open files rlimit 1024 reached while liblustre testing
Details : ulnds/socklnd must close open socket after unsuccessful
'say hello' attempt.
------------------------------------------------------------------------------
2007-07-30 Cluster File Systems, Inc. <info@clusterfs.com> 2007-07-30 Cluster File Systems, Inc. <info@clusterfs.com>
* version 1.4.11 / 1.6.1 * version 1.4.11 / 1.6.1
* Support for networks: * Support for networks:
......
...@@ -491,8 +491,10 @@ connection force_tcp_connection(manager m, ...@@ -491,8 +491,10 @@ connection force_tcp_connection(manager m,
} }
/* say hello */ /* say hello */
if (tcpnal_hello(fd, nid)) if (tcpnal_hello(fd, nid)) {
close(fd);
goto out; goto out;
}
conn = allocate_connection(m, nid, fd); conn = allocate_connection(m, nid, fd);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment