Whamcloud - gitweb
LU-16106 lnet: allow direct messages regardless of peer NI status
[fs/lustre-release.git] / lnet / lnet / lib-move.c
index e23a532..da31094 100644 (file)
@@ -794,6 +794,10 @@ lnet_check_message_drop(struct lnet_ni *ni, struct lnet_peer_ni *lpni,
        if (lnet_msg_is_response(msg))
                return false;
 
+       /* always send non-routed messages */
+       if (!msg->msg_routing)
+               return false;
+
        /* assume peer_ni is alive as long as we're within the configured
         * peer timeout
         */