projects
/
firefly-linux-kernel-4.4.55.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge branch 'for-john' of git://git.kernel.org/pub/scm/linux/kernel/git/jberg/mac802...
[firefly-linux-kernel-4.4.55.git]
/
net
/
mac80211
/
debugfs.c
diff --git
a/net/mac80211/debugfs.c
b/net/mac80211/debugfs.c
index fa16e54980a1d3e76ce2f85fcb3253eb2599e838..0e963bc1ceac3109f378431a617b853a7166df37 100644
(file)
--- a/
net/mac80211/debugfs.c
+++ b/
net/mac80211/debugfs.c
@@
-128,7
+128,7
@@
static ssize_t sta_tx_latency_stat_write(struct file *file,
if (!strcmp(buf, TX_LATENCY_DISABLED)) {
if (!tx_latency)
goto unlock;
-
rcu_assign_pointer
(local->tx_latency, NULL);
+
RCU_INIT_POINTER
(local->tx_latency, NULL);
synchronize_rcu();
kfree(tx_latency);
goto unlock;