git://git.onelab.eu
/
sliver-openvswitch.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
tunneling: Add missing rcu_dereference() to cache cleaner.
[sliver-openvswitch.git]
/
datapath
/
tunnel.c
diff --git
a/datapath/tunnel.c
b/datapath/tunnel.c
index
271651b
..
aae3f3d
100644
(file)
--- a/
datapath/tunnel.c
+++ b/
datapath/tunnel.c
@@
-818,7
+818,7
@@
static void cache_cleaner(struct work_struct *work)
schedule_cache_cleaner();
rcu_read_lock();
- tbl_foreach(
port_table
, cache_cleaner_cb, NULL);
+ tbl_foreach(
rcu_dereference(port_table)
, cache_cleaner_cb, NULL);
rcu_read_unlock();
}