i=eeb
Landing Eric's patch
gmlnd - GM 2.1.22 and later,
mxlnd - MX 1.2.1 or later,
ptllnd - Portals 3.3 / UNICOS/lc 1.5.x, 2.0.x
+Severity : normal
+Bugzilla : 14838
+Description: ksocklnd fails to establish connection if accept_port is high
+Details : PID remapping must not be done for active (outgoing) connections
--------------------------------------------------------------------------------
return -EPROTO;
}
- if (conn->ksnc_port > LNET_ACCEPTOR_MAX_RESERVED_PORT) {
+ if (!active &&
+ conn->ksnc_port > LNET_ACCEPTOR_MAX_RESERVED_PORT) {
/* Userspace NAL assigns peer process ID from socket */
recv_id.pid = conn->ksnc_port | LNET_PID_USERFLAG;
recv_id.nid = LNET_MKNID(LNET_NIDNET(ni->ni_nid), conn->ksnc_ipaddr);