From e52630001696d26ea7e52ca842d09a415ebca66b Mon Sep 17 00:00:00 2001 From: Jarno Rajahalme Date: Wed, 9 Jan 2013 14:27:35 -0800 Subject: [PATCH] --- yaml --- r: 368296 b: refs/heads/master c: 14408dba8440ef629a3a2827bc4c7b5045889295 h: refs/heads/master v: v3 --- [refs] | 2 +- trunk/net/openvswitch/datapath.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/[refs] b/[refs] index 6cac0bd9c9f1..cb2ffbc48a19 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 9807a54cd74149988f5d20088bf7a7957c205bfb +refs/heads/master: 14408dba8440ef629a3a2827bc4c7b5045889295 diff --git a/trunk/net/openvswitch/datapath.c b/trunk/net/openvswitch/datapath.c index f996db343247..f9d2438e6437 100644 --- a/trunk/net/openvswitch/datapath.c +++ b/trunk/net/openvswitch/datapath.c @@ -1628,7 +1628,7 @@ static struct vport *lookup_vport(struct net *net, vport = ovs_vport_rtnl_rcu(dp, port_no); if (!vport) - return ERR_PTR(-ENOENT); + return ERR_PTR(-ENODEV); return vport; } else return ERR_PTR(-EINVAL);