Page MenuHomeFreeBSD

D19677.diff
No OneTemporary

D19677.diff

Index: head/sys/dev/mpr/mpr.c
===================================================================
--- head/sys/dev/mpr/mpr.c
+++ head/sys/dev/mpr/mpr.c
@@ -2617,10 +2617,8 @@
} else {
cm = &sc->commands[
le16toh(desc->AddressReply.SMID)];
- KASSERT(cm->cm_state == MPR_CM_STATE_INQUEUE,
- ("command SMID %d not inqueue\n",
- desc->AddressReply.SMID));
- cm->cm_state = MPR_CM_STATE_BUSY;
+ if (cm->cm_state != MPR_CM_STATE_TIMEDOUT)
+ cm->cm_state = MPR_CM_STATE_BUSY;
cm->cm_reply = reply;
cm->cm_reply_data =
le32toh(desc->AddressReply.
Index: head/sys/dev/mps/mps.c
===================================================================
--- head/sys/dev/mps/mps.c
+++ head/sys/dev/mps/mps.c
@@ -2481,9 +2481,8 @@
} else {
cm = &sc->commands[
le16toh(desc->AddressReply.SMID)];
- KASSERT(cm->cm_state == MPS_CM_STATE_INQUEUE,
- ("command not inqueue\n"));
- cm->cm_state = MPS_CM_STATE_BUSY;
+ if (cm->cm_state != MPS_MPS_STATE_TIMEDOUT)
+ cm->cm_state = MPS_CM_STATE_BUSY;
cm->cm_reply = reply;
cm->cm_reply_data = le32toh(
desc->AddressReply.ReplyFrameAddress);

File Metadata

Mime Type
text/plain
Expires
Thu, Dec 25, 3:48 PM (7 h, 18 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
27250628
Default Alt Text
D19677.diff (1 KB)

Event Timeline