projects
/
openvswitch
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
jsonrpc: Make jsonrpc_error() internal.
[openvswitch]
/
datapath
/
actions.c
diff --git
a/datapath/actions.c
b/datapath/actions.c
index 824791d1fa0285c37c536ba290e8b3ef778e6149..4b0760395229d21f9a68818225a7a3b3238adce7 100644
(file)
--- a/
datapath/actions.c
+++ b/
datapath/actions.c
@@
-248,7
+248,7
@@
static int do_output(struct datapath *dp, struct sk_buff *skb, int out_port)
if (unlikely(!skb))
return -ENOMEM;
- vport =
rcu_dereference(dp->ports[out_port]
);
+ vport =
ovs_vport_rcu(dp, out_port
);
if (unlikely(!vport)) {
kfree_skb(skb);
return -ENODEV;