summaryrefslogtreecommitdiff
path: root/dev/ns_gige.cc
diff options
context:
space:
mode:
Diffstat (limited to 'dev/ns_gige.cc')
-rw-r--r--dev/ns_gige.cc4
1 files changed, 4 insertions, 0 deletions
diff --git a/dev/ns_gige.cc b/dev/ns_gige.cc
index 6aae7b9eb..47cd4d7da 100644
--- a/dev/ns_gige.cc
+++ b/dev/ns_gige.cc
@@ -1840,6 +1840,8 @@ NSGigE::rxKick()
CRDD = true;
goto exit;
} else {
+ if (rxDmaState != dmaIdle)
+ goto exit;
rxState = rxDescRead;
regs.rxdp = rxDescCache.link;
CRDD = false;
@@ -2286,6 +2288,8 @@ NSGigE::txKick()
txState = txIdle;
goto exit;
} else {
+ if (txDmaState != dmaIdle)
+ goto exit;
txState = txDescRead;
regs.txdp = txDescCache.link;
CTDD = false;