projects
/
platform
/
kernel
/
linux-rpi.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge tag 'kmemleak' of git://git.kernel.org/pub/scm/linux/kernel/git/cmarinas/linux
[platform/kernel/linux-rpi.git]
/
net
/
phonet
/
af_phonet.c
diff --git
a/net/phonet/af_phonet.c
b/net/phonet/af_phonet.c
index
bf10ea8
..
d65f699
100644
(file)
--- a/
net/phonet/af_phonet.c
+++ b/
net/phonet/af_phonet.c
@@
-480,7
+480,7
@@
int __init_or_module phonet_proto_register(unsigned int protocol,
if (proto_tab[protocol])
err = -EBUSY;
else
-
RCU_INIT_POINTER
(proto_tab[protocol], pp);
+
rcu_assign_pointer
(proto_tab[protocol], pp);
mutex_unlock(&proto_tab_lock);
return err;