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
datapath: Don't rcu_dereference() objects in table.
[sliver-openvswitch.git]
/
datapath
/
table.c
diff --git
a/datapath/table.c
b/datapath/table.c
index
86236e9
..
cfe7b2b
100644
(file)
--- a/
datapath/table.c
+++ b/
datapath/table.c
@@
-174,7
+174,7
@@
static int search_bucket(const struct tbl_bucket *bucket, void *target, u32 hash
int i;
for (i = 0; i < bucket->n_objs; i++) {
- struct tbl_node *obj =
rcu_dereference(bucket->objs[i])
;
+ struct tbl_node *obj =
bucket->objs[i]
;
if (obj->hash == hash && likely(cmp(obj, target)))
return i;
}