return;
LASSERT (!in_interrupt ());
+ LASSERT (!irqs_disabled ());
LASSERT (ndiov > 0);
while (doffset > diov->kiov_len) {
return;
LASSERT (!in_interrupt ());
+ LASSERT (!irqs_disabled ());
LASSERT (niov > 0);
while (iovoffset > iov->iov_len) {
return;
LASSERT (!in_interrupt ());
+ LASSERT (!irqs_disabled ());
LASSERT (nkiov > 0);
while (kiovoffset > kiov->kiov_len) {
lnet_kiov_t *kiov = NULL;
int rc;
- LASSERT (!in_interrupt());
+ LASSERT (!in_interrupt());
+ LASSERT (!irqs_disabled ());
LASSERT (mlen == 0 || msg != NULL);
if (msg != NULL) {
rc = (ni->ni_lnd->lnd_recv)(ni, private, msg, delayed,
niov, iov, kiov, offset, mlen, rlen);
+ LASSERT(!irqs_disabled());
if (rc < 0)
lnet_finalize(ni, msg, rc);
}
int delayed = msg->msg_delayed;
int rc;
\r
- LASSERT (!in_interrupt());
+ LASSERT (!in_interrupt());
+ LASSERT (!irqs_disabled ());
/* On GET, call lnet_ni_recv() right after the send. The recv gets
* delayed until after the send to ensure the LND still has any RDMA
(msg->msg_txcredit && msg->msg_peertxcredit));
rc = (ni->ni_lnd->lnd_send)(ni, priv, msg);
+ LASSERT(!irqs_disabled());
if (rc < 0)
lnet_finalize(ni, msg, rc);
__u32 payload_length;
__u32 type;
- LASSERT (!in_interrupt());\r
-
+ LASSERT (!in_interrupt());
+ LASSERT (!irqs_disabled ());
+
type = le32_to_cpu(hdr->type);
src_nid = le64_to_cpu(hdr->src_nid);
dest_nid = le64_to_cpu(hdr->dest_nid);