On Sun, Dec 16, 2007 at 10:33:40AM -0800, Stephen Hemminger ([EMAIL PROTECTED]) 
wrote:
> > index 3653314..9e0e97a 100644
> > --- a/drivers/net/tulip/interrupt.c
> > +++ b/drivers/net/tulip/interrupt.c
> > @@ -151,8 +151,9 @@ int tulip_poll(struct napi_struct *napi, int budget)
> >                         if (tulip_debug > 5)
> >                                 printk(KERN_DEBUG "%s: In tulip_rx(), entry 
> > %d %8.8x.\n",
> >                                        dev->name, entry, status);
> > -                  if (work_done++ >= budget)
> > +                  if (work_done >= budget)
> >                                 goto not_done;
> > +                  work_done++;
> >  
> >                         if ((status & 0x38008300) != 0x0300) {
> >                                 if ((status & 0x38000300) != 0x0300) {
> > 
> > 
> 
> I already sendout a correct patch last week. It should pre-increment.

That will work too.
Thanks Stephen.

-- 
        Evgeniy Polyakov
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to