Details
-
Bug
-
Resolution: Fixed
-
Minor
-
None
-
None
-
3
-
9223372036854775807
Description
Bug in
commit fa8b4e6357c53ea457ef6624b0b19bece0b0fdde
Author: Amir Shehata <amir.shehata@intel.com>
Date: Thu May 26 15:42:39 2016 -0700
LU-7734 lnet: peer/peer_ni handling adjustments
Broke the fix for LU-8106:
commit 47b7b319783f27023b0cefe54a2a2eea678284f2
Author: Doug Oucharek <doug.s.oucharek@intel.com>
Date: Wed Mar 2 12:08:00 2016 +0800
LU-8106 lnet: Do not drop message when shutting down LNet
We need to see whether lnet_nid2peerni_locked() returns -ESHUTDOWN
lpni = lnet_nid2peerni_locked(from_nid, ni->ni_nid, cpt);
if (IS_ERR(lpni)) {
lnet_net_unlock(cpt);
CERROR("%s, src %s: Dropping %s "
"(error %ld looking up sender)\n",
libcfs_nid2str(from_nid), libcfs_nid2str(src_nid),
lnet_msgtyp2str(type), PTR_ERR(lpni));
lnet_msg_free(msg);
if (rc == -ESHUTDOWN)
/* We are shutting down. Don't do anything more */
return 0;
goto drop;
}