Re: [PATCH] net: ethernet: davinci_cpdma: decrease the desc countwhen cleaning up the remaining packets

From: David Miller
Date: Tue Oct 02 2012 - 22:56:35 EST


From: Tao Hou <hotforest@xxxxxxxxx>
Date: Tue, 2 Oct 2012 10:42:43 +0800

> chan->count is used by rx channel. If the desc count is not updated by
> the clean up loop in cpdma_chan_stop, the value written to the rxfree
> register in cpdma_chan_start will be incorrect.
>
> Signed-off-by: Tao Hou <hotforest@xxxxxxxxx>

Applied, thanks.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/