projects
/
linux-flexiantxendom0-3.2.10.git
/ blobdiff
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
6lowpan: add missing spin_lock_init()
[linux-flexiantxendom0-3.2.10.git]
/
net
/
ieee802154
/
6lowpan.c
diff --git
a/net/ieee802154/6lowpan.c
b/net/ieee802154/6lowpan.c
index
b3021f7
..
840821b
100644
(file)
--- a/
net/ieee802154/6lowpan.c
+++ b/
net/ieee802154/6lowpan.c
@@
-1168,6
+1168,8
@@
static int lowpan_newlink(struct net *src_net, struct net_device *dev,
list_add_tail(&entry->list, &lowpan_devices);
mutex_unlock(&lowpan_dev_info(dev)->dev_list_mtx);
+ spin_lock_init(&flist_lock);
+
register_netdevice(dev);
return 0;