diff options
author | Jarno Rajahalme <jrajahalme@nicira.com> | 2015-06-12 16:12:56 -0700 |
---|---|---|
committer | Jarno Rajahalme <jrajahalme@nicira.com> | 2015-06-12 16:12:56 -0700 |
commit | f695ebfae56c981332b9030b9ed905f90de8b0c5 (patch) | |
tree | e9ead8945a00e864ae6296b3c79376eb7ec3eff4 /lib/ofp-print.c | |
parent | 18721c4a4d49416a0c63ca985988b000fc48f217 (diff) | |
download | openvswitch-f695ebfae56c981332b9030b9ed905f90de8b0c5.tar.gz |
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>
Diffstat (limited to 'lib/ofp-print.c')
-rw-r--r-- | lib/ofp-print.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/ofp-print.c b/lib/ofp-print.c index 96e65a7e7..2ac11b1ea 100644 --- a/lib/ofp-print.c +++ b/lib/ofp-print.c @@ -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; |