ofproto: Fix is_flow_deletion_pending() false positive.
authorEthan Jackson <ethan@nicira.com>
Thu, 1 May 2014 00:24:21 +0000 (17:24 -0700)
committerEthan Jackson <ethan@nicira.com>
Thu, 1 May 2014 19:46:17 +0000 (12:46 -0700)
commita6fcf462476db3385027d3bfcc1d2dc8386e6f2a
tree1118aac606ec0c2e0a4369f115a283b633139eaa
parent0ef165ecb57943e17a8ee8270df68ffb8d032e29
ofproto: Fix is_flow_deletion_pending() false positive.

If one tries to install a rule that's identical to another rule in
another OpenFlow table which is being deleted, it's possible that
is_flow_deletion_pending() might confuse them and block the
installation.  This is such an edge case I doubt it has ever actually
happened.

Found by inspection.

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