| To: | Robert Olsson <Robert.Olsson@xxxxxxxxxxx> |
|---|---|
| Subject: | Re: your mail |
| From: | Jeff Garzik <jgarzik@xxxxxxxxx> |
| Date: | Thu, 18 Sep 2003 15:38:42 -0400 |
| Cc: | netdev@xxxxxxxxxxx, davem@xxxxxxxxxx, akpm@xxxxxxxx |
| In-reply-to: | <3F69FAF8.mail2M211N69M@robur.slu.se> |
| References: | <3F69FAF8.mail2M211N69M@robur.slu.se> |
| Sender: | netdev-bounce@xxxxxxxxxxx |
| User-agent: | Mutt/1.3.28i |
On Thu, Sep 18, 2003 at 08:35:36PM +0200, Robert Olsson wrote:
This issue is already fixed in 2.4 and 2.5 :)
> --- include/linux/netdevice.h.orig 2003-09-08 21:50:31.000000000 +0200
> +++ include/linux/netdevice.h 2003-09-17 17:27:58.000000000 +0200
> @@ -830,9 +830,9 @@
> local_irq_restore(flags);
> }
>
> -static inline void netif_poll_disable(struct net_device *dev)
> +static inline void netif_poll_sync(struct net_device *dev)
> {
> - while (test_and_set_bit(__LINK_STATE_RX_SCHED, &dev->state)) {
> + while (test_bit(__LINK_STATE_RX_SCHED, &dev->state)) {
> /* No hurry. */
> current->state = TASK_INTERRUPTIBLE;
> schedule_timeout(1);
This patch breaks tg3 build, and operation...
tg3 wants a different operation than net/core/dev.c.
Jeff
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | (no subject), Robert Olsson |
|---|---|
| Next by Date: | Re: [PATCH] more const in skbuff, Mitchell Blank Jr |
| Previous by Thread: | (no subject), Robert Olsson |
| Next by Thread: | [PATCH] SEQ_START_TOKEN for af_netlink.c, John Levon |
| Indexes: | [Date] [Thread] [Top] [All Lists] |