projects
/
cascardo
/
linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
staging/xgifb: Use TVCLKBASE_315 as a base address
[cascardo/linux.git]
/
net
/
socket.c
diff --git
a/net/socket.c
b/net/socket.c
index
e56162c
..
28a96af
100644
(file)
--- a/
net/socket.c
+++ b/
net/socket.c
@@
-2492,7
+2492,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);