Flow expiry: Replace refernces to OFPC_SEND_FLOW_EXP refs
Replaced references to OFPC_SEND_FLOW_EXP in dpinst with flow->send_flow_exp
This commit is contained in:
1 parent
b7e8127132
commit
b2b952792e
2 files changed
+2
-2
No files matched your search
@@ -195,7 +195,7 @@ tmpl_flow_timeout(struct datapath *dpinst, struct sw_table *flowtab)
|
||||
}
|
||||
reason = flow_timeout(flow);
|
||||
if (reason >= 0) {
|
||||
if (dpinst->flags & OFPC_SEND_FLOW_EXP) {
|
||||
if (flow->send_flow_exp) {
|
||||
/* XXX: Get byte count */
|
||||
flow->byte_count = 0;
|
||||
dp_send_flow_end(dpinst, flow, reason);
|
||||
|
||||
@@ -226,7 +226,7 @@ nf2_flow_timeout(struct datapath *dpinst, struct sw_table *flowtab)
|
||||
}
|
||||
reason = flow_timeout(flow);
|
||||
if (reason >= 0) {
|
||||
if (dpinst->flags & OFPC_SEND_FLOW_EXP) {
|
||||
if (flow->send_flow_exp) {
|
||||
dp_send_flow_end(dpinst, flow, reason);
|
||||
}
|
||||
num_uninst_flows += do_uninstall(flowtab, flow);
|
||||
|
||||
Reference in new issue
Block a user