commit | 83d0feffc5695d7dc24c6b8dac9ab265533beb78 | [log] [tgz] |
---|---|---|
author | Shreyas Bhatewara <sbhatewara@vmware.com> | Fri Jan 14 14:59:57 2011 +0000 |
committer | David S. Miller <davem@davemloft.net> | Sat Jan 15 21:21:14 2011 -0800 |
tree | a1fc2e1e73827fb838657cdf75814c15b3efc746 | |
parent | 51956cd68b0c3039968485317b77a89dfec95eab [diff] |
vmxnet3: Add locking for access to command register Access to cmd register is racey, especially in smp environments. Protect it using a spinlock. Signed-off-by: Matthieu Bucchianeri <matthieu@vmware.com> Signed-off-by: Shreyas N Bhatewara <sbhatewara@vmware.com> Signed-off-by: David S. Miller <davem@davemloft.net>