ofproto: Remove soon-to-be-invalid optimizations.
authorBen Pfaff <blp@nicira.com>
Mon, 9 Sep 2013 18:19:41 +0000 (11:19 -0700)
committerBen Pfaff <blp@nicira.com>
Fri, 13 Sep 2013 00:43:05 +0000 (17:43 -0700)
commit97f63e57a8f31952107e23d164b9347eda2ddc98
tree0f5b659830787fcc9976013438ecca4820928997
parentd6fb622dcb9cb048b564621a73cf4165edc857ea
ofproto: Remove soon-to-be-invalid optimizations.

Until now, ofproto_add_flow() and ofproto_delete_flow() assumed that the
flow table could not change between its flow table check and its later
modification to the flow table.  This assumption will soon be untrue, so
remove it.

Signed-off-by: Ben Pfaff <blp@nicira.com>
Acked-by: Ethan Jackson <ethan@nicira.com>
ofproto/ofproto.c