Messages in this thread | | | Date | Mon, 15 Oct 2007 18:41:14 -0400 | From | Jeff Garzik <> | Subject | Re: [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/
| |