From: Ross Philipson Date: Fri, 30 Oct 2009 18:42:46 +0000 (-0400) Subject: Fixed last flag for ending loop in async rx sample. X-Git-Url: http://xenbits.xensource.com/gitweb?a=commitdiff_plain;h=a832d2ae75f3d1fd6b7f1dc3dfc1f95294c7ba35;p=xenclient%2Flinux-2.6.27-pq.git Fixed last flag for ending loop in async rx sample. Changes to be committed: modified: master/v2v-async --- diff --git a/master/v2v-async b/master/v2v-async index 77b32ed..e83f8a2 100644 --- a/master/v2v-async +++ b/master/v2v-async @@ -1233,7 +1233,7 @@ index 0c2798c..83854a2 100644 + if ((ctx->tx_counter == ctx->config->xfer_count)&&(ctx->rx_counter == ctx->tx_counter)) { + ctx->s.async.term_status = V2V_TERM_COMPLETE; + v2v_set_wake_reason(ctx->channel, V2V_WAKE_REASON_TERMINATE); -+ last = 0; ++ last = 1; + } + spin_unlock_irqrestore(&ctx->s.async.tx_lock, flags); +