Commit e1c76849 authored by Arjan van de Ven's avatar Arjan van de Ven Committed by Linus Torvalds

[PATCH] fealnx smp bugfix

        spinlock_t *lp = &((struct netdev_private *)dev->priv)->lock;
doesn't mix with
	spin_unlock_irqrestore(&lp, flags);
parent 3b1d74fa
...@@ -1808,7 +1808,7 @@ static void set_rx_mode(struct net_device *dev) ...@@ -1808,7 +1808,7 @@ static void set_rx_mode(struct net_device *dev)
unsigned long flags; unsigned long flags;
spin_lock_irqsave(lp, flags); spin_lock_irqsave(lp, flags);
__set_rx_mode(dev); __set_rx_mode(dev);
spin_unlock_irqrestore(&lp, flags); spin_unlock_irqrestore(lp, flags);
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment