Gentoo Archives: gentoo-amd64

From: Tom <uebershark@××××××××××.com>
To: gentoo-amd64@l.g.o
Subject: Re: [gentoo-amd64] kernel-2.6.29-gentoo, network device failing after maybe 10min
Date: Fri, 27 Mar 2009 12:58:37
Message-Id: 20090327135908.5f8d4f00@ViciousVincent
In Reply to: Re: [gentoo-amd64] kernel-2.6.29-gentoo, network device failing after maybe 10min by Paul Hartman
1 > Index: linux2/net/core/dev.c
2 > ===================================================================
3 > --- linux2.orig/net/core/dev.c
4 > +++ linux2/net/core/dev.c
5 > @@ -2588,9 +2588,9 @@ static int process_backlog(struct napi_s
6 > local_irq_disable();
7 > skb = __skb_dequeue(&queue->input_pkt_queue);
8 > if (!skb) {
9 > + __napi_complete(napi);
10 > local_irq_enable();
11 > - napi_complete(napi);
12 > - goto out;
13 > + break;
14 > }
15 > local_irq_enable();
16 >
17 > @@ -2599,7 +2599,6 @@ static int process_backlog(struct napi_s
18 >
19 > napi_gro_flush(napi);
20 >
21 > -out:
22 > return work;
23 > }
24
25
26 Patch that was posted in that forum thread, it fixes the problem for
27 me :)
28
29 Tom