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
openvswitch: Silence RCU lockdep checks from flow lookup.
[firefly-linux-kernel-4.4.55.git]
/
net
/
openvswitch
/
datapath.c
diff --git
a/net/openvswitch/datapath.c
b/net/openvswitch/datapath.c
index fcaed98b2c0d0b4df73da61f84e47c450716803a..0727aaa2c825916c2b6902841282cce154eefe94 100644
(file)
--- a/
net/openvswitch/datapath.c
+++ b/
net/openvswitch/datapath.c
@@
-701,8
+701,7
@@
static int ovs_flow_cmd_fill_info(struct sw_flow *flow, struct datapath *dp,
if (start) {
const struct sw_flow_actions *sf_acts;
- sf_acts = rcu_dereference_check(flow->sf_acts,
- lockdep_ovsl_is_held());
+ sf_acts = rcu_dereference_ovsl(flow->sf_acts);
err = ovs_nla_put_actions(sf_acts->actions,
sf_acts->actions_len, skb);