commit | 80dd857daca1cf541b10118991569470d62c1d38 | [log] [tgz] |
---|---|---|
author | Stephen Hemminger <shemminger@osdl.org> | Wed Feb 22 10:28:35 2006 -0800 |
committer | Francois Romieu <romieu@fr.zoreil.com> | Thu Feb 23 23:07:08 2006 +0100 |
tree | a02a62684dee38af8bb91bb261de8659f08e9d55 | |
parent | 0781191cf69b7635e0d3ea55c6019e789d1936fa [diff] [blame] |
skge: protect interrupt mask There is a race between updating the irq mask and setting it which can be triggered on SMP with a bad cable. Similar patch from Ingo Molnar and Thomas Gleixner Signed-off-by: Stephen Hemminger <shemminger@osdl.org>
diff --git a/drivers/net/skge.h b/drivers/net/skge.h index 2efdacc..941f12a 100644 --- a/drivers/net/skge.h +++ b/drivers/net/skge.h
@@ -2402,6 +2402,7 @@ struct tasklet_struct ext_tasklet; spinlock_t phy_lock; + spinlock_t hw_lock; }; enum {