git.openpandora.org
/
pandora-kernel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
x86/PCI: use host bridge _CRS info on MSI MS-7253
[pandora-kernel.git]
/
net
/
socket.c
diff --git
a/net/socket.c
b/net/socket.c
index
2877647
..
2dce67a
100644
(file)
--- a/
net/socket.c
+++ b/
net/socket.c
@@
-2472,7
+2472,7
@@
int sock_register(const struct net_proto_family *ops)
lockdep_is_held(&net_family_lock)))
err = -EEXIST;
else {
-
RCU_INIT_POINTER
(net_families[ops->family], ops);
+
rcu_assign_pointer
(net_families[ops->family], ops);
err = 0;
}
spin_unlock(&net_family_lock);