Whamcloud - gitweb
LU-10391 lnet: alter lnet_drop_rule_match() to take lnet_nid
[fs/lustre-release.git] / lnet / lnet / lib-msg.c
index ed979bc..39a2ba2 100644 (file)
@@ -1114,8 +1114,7 @@ lnet_send_error_simulation(struct lnet_msg *msg,
            return false;
 
        /* match only health rules */
-       if (!lnet_drop_rule_match(&msg->msg_hdr, LNET_NID_ANY,
-                                 hstatus))
+       if (!lnet_drop_rule_match(&msg->msg_hdr, NULL, hstatus))
                return false;
 
        CDEBUG(D_NET, "src %s(%s)->dst %s: %s simulate health error: %s\n",