From: Nathan Binkert Date: Wed, 14 Jul 2004 13:02:15 +0000 (-0400) Subject: Fix infinite loop in ns_gige stat machine X-Git-Tag: m5_1.0_tutorial~241 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=6f43d2b8d85b58cf33d03d7c6ea89fe36bec76dd;p=gem5.git Fix infinite loop in ns_gige stat machine argh! dev/ns_gige.cc: Exit the state machine so that we don't come right back where we started and enter an infinite loop. --HG-- extra : convert_revision : a5f2b5b5a692de6c80e4b02d7f9bc5d27fe17252 --- diff --git a/dev/ns_gige.cc b/dev/ns_gige.cc index ff0c90f15..b0b093cf4 100644 --- a/dev/ns_gige.cc +++ b/dev/ns_gige.cc @@ -1929,7 +1929,7 @@ NSGigE::txKick() txState = txFifoBlock; transmit(); - break; + goto exit; } }