lkml.org 
[lkml]   [2007]   [Oct]   [15]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [patch] forcedeth: fix the NAPI poll function
Jeff Garzik wrote:
>> --- linux.orig/drivers/net/forcedeth.c
>> +++ linux/drivers/net/forcedeth.c
>> @@ -2274,7 +2274,7 @@ static int nv_rx_process(struct net_devi
>>
>> while((np->get_rx.orig != np->put_rx.orig) &&
>> !((flags = le32_to_cpu(np->get_rx.orig->flaglen)) &
>> NV_RX_AVAIL) &&
>> - (rx_processed_cnt++ < limit)) {
>> + (++rx_processed_cnt < limit)) {
>>
>> dprintk(KERN_DEBUG "%s: nv_rx_process: flags 0x%x.\n",
>> dev->name, flags);
>> @@ -2412,7 +2412,7 @@ static int nv_rx_process_optimized(struc
>>
>> while((np->get_rx.ex != np->put_rx.ex) &&
>> !((flags = le32_to_cpu(np->get_rx.ex->flaglen)) &
>> NV_RX2_AVAIL) &&
>> - (rx_processed_cnt++ < limit)) {
>> + (++rx_processed_cnt < limit)) {


Though it wasn't clear, that's an ACK

I'll push the patch if nobody else beats me to it.

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

\
 
 \ /
  Last update: 2007-10-16 00:43    [W:0.167 / U:0.120 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site