ofproto: Postpone sending flow removed messages.
authorJarno Rajahalme <jrajahalme@nicira.com>
Fri, 12 Jun 2015 23:12:56 +0000 (16:12 -0700)
committerJarno Rajahalme <jrajahalme@nicira.com>
Fri, 12 Jun 2015 23:12:56 +0000 (16:12 -0700)
commitf695ebfae56c981332b9030b9ed905f90de8b0c5
treee9ead8945a00e864ae6296b3c79376eb7ec3eff4
parent18721c4a4d49416a0c63ca985988b000fc48f217
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>
include/openflow/openflow-common.h
lib/ofp-print.c
ofproto/ofproto-provider.h
ofproto/ofproto.c