diff options
Diffstat (limited to 'net/openvswitch/actions.c')
-rw-r--r-- | net/openvswitch/actions.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/openvswitch/actions.c b/net/openvswitch/actions.c index f3f96badf5aa..0da687769f56 100644 --- a/net/openvswitch/actions.c +++ b/net/openvswitch/actions.c | |||
@@ -266,7 +266,7 @@ static int do_output(struct datapath *dp, struct sk_buff *skb, int out_port) | |||
266 | if (unlikely(!skb)) | 266 | if (unlikely(!skb)) |
267 | return -ENOMEM; | 267 | return -ENOMEM; |
268 | 268 | ||
269 | vport = rcu_dereference(dp->ports[out_port]); | 269 | vport = ovs_vport_rcu(dp, out_port); |
270 | if (unlikely(!vport)) { | 270 | if (unlikely(!vport)) { |
271 | kfree_skb(skb); | 271 | kfree_skb(skb); |
272 | return -ENODEV; | 272 | return -ENODEV; |