IO: Fix bug in DMA Device where receiving a snoop on DMA port would cause a panic.

--HG--
extra : rebase_source : 8152d4fa7d7354c9f150a450ae0710e95141ba4b
This commit is contained in:
Ali Saidi 2011-12-15 00:09:46 -05:00
parent 6ef9691035
commit 94ce971278

View file

@ -142,13 +142,9 @@ DmaPort::recvTiming(PacketPtr pkt)
pkt->reinitNacked();
queueDma(pkt, true);
} else if (pkt->senderState) {
if (recvSnoops) {
if (pkt->isRequest()) {
} else if (pkt->isRequest() && recvSnoops) {
return true;
}
}
} else if (pkt->senderState) {
DmaReqState *state;
backoffTime >>= 2;