Re: PROBLEM: fix fealnx.c hangs on SMP, 2.4.27

From: Jeff Garzik
Date: Mon Aug 30 2004 - 04:08:11 EST


Peter Holik wrote:
static void set_rx_mode(struct net_device *dev)
{
spinlock_t *lp = &((struct netdev_private *)dev->priv)->lock;
unsigned long flags;
spin_lock_irqsave(lp, flags);
__set_rx_mode(dev);
- spin_unlock_irqrestore(&lp, flags);
+ spin_unlock_irqrestore(lp, flags);
}


Yep, I sent this fix to Marcelo on Aug 28th.

Jeff


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