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
ffe92ca
..
2dce67a
100644
(file)
--- a/
net/socket.c
+++ b/
net/socket.c
@@
-2500,7
+2500,7
@@
void sock_unregister(int family)
BUG_ON(family < 0 || family >= NPROTO);
spin_lock(&net_family_lock);
-
rcu_assign_pointer
(net_families[family], NULL);
+
RCU_INIT_POINTER
(net_families[family], NULL);
spin_unlock(&net_family_lock);
synchronize_rcu();