|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-devel] [PATCH net-next v2 2/9] xen-netback: Change TX path from grant copy to mapping
On 16/12/13 18:21, Wei Liu wrote: On Mon, Dec 16, 2013 at 03:38:05PM +0000, Zoltan Kiss wrote: [...] There is an "i = 0" if we find a valid handle. So we start again checking the whole array from the second element (incorrectly, it should be "i = -1"!), and we print an incorrect error message, but essentially we are not leaving the loop, unless the first element was the problematic. We can modify that to "i--" or "i = -1" if we want to recheck the whole array. It shouldn't happen at this point that we transmit new packets, starting from the beginning is just an extra safety check. Also, we should modify i after the printing of the error message. Zoli _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxx http://lists.xen.org/xen-devel
|
![]() |
Lists.xenproject.org is hosted with RackSpace, monitoring our |