ofproto: Fix test for installability change when revalidating.
authorBen Pfaff <blp@nicira.com>
Fri, 7 Jan 2011 19:15:41 +0000 (11:15 -0800)
committerBen Pfaff <blp@nicira.com>
Fri, 28 Jan 2011 05:08:39 +0000 (21:08 -0800)
commite4add8967bd4fe1e78566ffbd2a61e8c2db6bc43
tree02ab4c1036caa56dff777dfdf8440d396cc4bdc3
parentba25b8f41f4db5ed5c91f53b9b83b57f242a82d6
ofproto: Fix test for installability change when revalidating.

ctx.may_set_up_flow will become the new facet->may_install, so it's that
value that we should check instead of the current facet->may_install when
deciding whether to update the datapath flow.

Reviewed by Ethan Jackson <ethan@nicira.com>.
ofproto/ofproto.c