Lines 4641-4652
nfsv4_seqsession(uint32_t seqid, uint32_t slotid, uint
Link Here
|
4641 |
} else |
4641 |
} else |
4642 |
/* No reply cached, so just do it. */ |
4642 |
/* No reply cached, so just do it. */ |
4643 |
slots[slotid].nfssl_inprog = 1; |
4643 |
slots[slotid].nfssl_inprog = 1; |
4644 |
} else if ((slots[slotid].nfssl_seq + 1) == seqid) { |
4644 |
} else if (slots[slotid].nfssl_seq + 1 == seqid || |
|
|
4645 |
slots[slotid].nfssl_seq + 2 == seqid) { |
4645 |
if (slots[slotid].nfssl_reply != NULL) |
4646 |
if (slots[slotid].nfssl_reply != NULL) |
4646 |
m_freem(slots[slotid].nfssl_reply); |
4647 |
m_freem(slots[slotid].nfssl_reply); |
4647 |
slots[slotid].nfssl_reply = NULL; |
4648 |
slots[slotid].nfssl_reply = NULL; |
4648 |
slots[slotid].nfssl_inprog = 1; |
4649 |
slots[slotid].nfssl_inprog = 1; |
4649 |
slots[slotid].nfssl_seq++; |
4650 |
slots[slotid].nfssl_seq = seqid; |
4650 |
} else |
4651 |
} else |
4651 |
error = NFSERR_SEQMISORDERED; |
4652 |
error = NFSERR_SEQMISORDERED; |
4652 |
return (error); |
4653 |
return (error); |