enic: bug fix: protect fw call i/f with spinlock
authorScott Feldman <scofeldm@cisco.com>
Thu, 3 Sep 2009 17:02:14 +0000 (17:02 +0000)
committerDavid S. Miller <davem@davemloft.net>
Fri, 4 Sep 2009 03:19:17 +0000 (20:19 -0700)
commit56ac88b38e5918d92bdfc97c528068e45ff4581c
tree9a087772b5f76379b812bd93feeda44374970ae2
parentd19e22dc2c1c43724c1d9ce4a5456ae74eeb6da8
enic: bug fix: protect fw call i/f with spinlock

Some driver -> nic firmware calls weren't guarded with a spinlock, exposing
the call i/f to a race between two threads

Signed-off-by: Scott Feldman <scofeldm@cisco.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/enic/enic_main.c