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
ofproto-dpif: Require an in_port when tracing datapath flows.
[sliver-openvswitch.git]
/
ofproto
/
ofproto-dpif.c
diff --git
a/ofproto/ofproto-dpif.c
b/ofproto/ofproto-dpif.c
index
1086036
..
0fdcaa7
100644
(file)
--- a/
ofproto/ofproto-dpif.c
+++ b/
ofproto/ofproto-dpif.c
@@
-3526,7
+3526,7
@@
ofproto_receive(const struct dpif_backer *backer, struct ofpbuf *packet,
port = odp_port_to_ofport(backer, flow->in_port);
if (!port) {
flow->in_port = OFPP_NONE;
- error =
ofproto ? ENODEV : 0
;
+ error =
ENODEV
;
goto exit;
}