diff --git a/lnet/ChangeLog b/lnet/ChangeLog index 1e8a65c25379d9f4c19e5516d0500cd95999f7e1..23df79f7bd9671bee83ddc88726a79397e298722 100644 --- a/lnet/ChangeLog +++ b/lnet/ChangeLog @@ -12,6 +12,14 @@ mxlnd - MX 1.2.1 or later 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> * version 1.4.11 / 1.6.1 * Support for networks: diff --git a/lnet/ulnds/socklnd/connection.c b/lnet/ulnds/socklnd/connection.c index 51aa5356f1a105b8e2d601d5c797f1186ef5bdd2..b429060e798f9c02840f6af13ec9f45d4f991229 100644 --- a/lnet/ulnds/socklnd/connection.c +++ b/lnet/ulnds/socklnd/connection.c @@ -491,8 +491,10 @@ connection force_tcp_connection(manager m, } /* say hello */ - if (tcpnal_hello(fd, nid)) + if (tcpnal_hello(fd, nid)) { + close(fd); goto out; + } conn = allocate_connection(m, nid, fd);