ofproto: Set to revalidate when a new version is available.
authorJarno Rajahalme <jarno@ovn.org>
Tue, 21 Jun 2016 16:41:02 +0000 (09:41 -0700)
committerJarno Rajahalme <jarno@ovn.org>
Tue, 21 Jun 2016 16:42:12 +0000 (09:42 -0700)
commit1fc71871a50821aa68e3a2e18c9b44b6e9afede3
treeee00e4b85863d6d4fe1d37adc3349f823fc823b1
parent6cd20a22a0121df7639e43888416daab96e4f9c7
ofproto: Set to revalidate when a new version is available.

There is no need to set the revalidate flag after each flow mod
separately, as we can do it once after the whole transaction is
finished.  It is not done at all if the transaction fails.

In the successful case this change makes no functional difference,
since the revalidation thread is triggered by the main thread only
after a bundle transaction has been fully processed.

Signed-off-by: Jarno Rajahalme <jarno@ovn.org>
Acked-by: Ben Pfaff <blp@ovn.org>
ofproto/ofproto-dpif.c
ofproto/ofproto-provider.h
ofproto/ofproto.c