Whamcloud - gitweb
smash the HEAD with the contents of b_cmd. HEAD_PRE_CMD_SMASH and
[fs/lustre-release.git] / lnet / lnet / lib-msg.c
index 1b69533..869c9d6 100644 (file)
@@ -89,6 +89,10 @@ lib_finalize(nal_cb_t *nal, void *private, lib_msg_t *msg, ptl_err_t status)
         int           rc;
         ptl_hdr_t     ack;
 
+        /* ni went down while processing this message */
+        if (nal->ni.up == 0)
+                return;
+
         if (msg == NULL)
                 return;