projects
/
cascardo
/
linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
cxgb4vf: Synchronize access to mailbox
[cascardo/linux.git]
/
drivers
/
net
/
ethernet
/
chelsio
/
cxgb4vf
/
cxgb4vf_main.c
diff --git
a/drivers/net/ethernet/chelsio/cxgb4vf/cxgb4vf_main.c
b/drivers/net/ethernet/chelsio/cxgb4vf/cxgb4vf_main.c
index
8d9b2cb
..
9f55264
100644
(file)
--- a/
drivers/net/ethernet/chelsio/cxgb4vf/cxgb4vf_main.c
+++ b/
drivers/net/ethernet/chelsio/cxgb4vf/cxgb4vf_main.c
@@
-2774,6
+2774,8
@@
static int cxgb4vf_pci_probe(struct pci_dev *pdev,
* Initialize SMP data synchronization resources.
*/
spin_lock_init(&adapter->stats_lock);
+ spin_lock_init(&adapter->mbox_lock);
+ INIT_LIST_HEAD(&adapter->mlist.list);
/*
* Map our I/O registers in BAR0.