mirror of
https://github.com/openvswitch/ovs
synced 2025-08-31 06:15:47 +00:00
ofproto: Postpone sending flow removed messages.
The final flow stats are available only after there are no references to the rule. Postpone sending the flow removed message until the final stats are available. Signed-off-by: Jarno Rajahalme <jrajahalme@nicira.com> Acked-by: Ben Pfaff <blp@nicira.com>
This commit is contained in:
@@ -865,6 +865,7 @@ ofp_flow_removed_reason_to_string(enum ofp_flow_removed_reason reason,
|
||||
return "eviction";
|
||||
case OFPRR_METER_DELETE:
|
||||
return "meter_delete";
|
||||
case OVS_OFPRR_NONE:
|
||||
default:
|
||||
snprintf(reasonbuf, bufsize, "%d", (int) reason);
|
||||
return reasonbuf;
|
||||
|
Reference in New Issue
Block a user