ofproto: Remove soon-to-be-invalid optimizations.
authorBen Pfaff <blp@nicira.com>
Fri, 13 Sep 2013 04:06:46 +0000 (21:06 -0700)
committerBen Pfaff <blp@nicira.com>
Fri, 13 Sep 2013 04:18:44 +0000 (21:18 -0700)
commit225f486a74ecaac798386ca8bd676dde9b9dcac8
treeb6e980e71405e31fb051320bb5064920b63d079a
parent8538bbb02a2cf2e56a623a9382840773c2c1e0aa
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