ofproto: Don't optimize out updating flow cookie.
authorBen Pfaff <blp@nicira.com>
Fri, 19 Mar 2010 18:44:31 +0000 (11:44 -0700)
committerBen Pfaff <blp@nicira.com>
Wed, 24 Mar 2010 23:56:28 +0000 (16:56 -0700)
commit4c77ea7fe06f9a09942e103d6fc42d37922b90fa
tree28c9425207d40b22f5dd04891485cf8019fcb880
parent7c88a5dc3ac1a034552bb94d42394bd325c1204e
ofproto: Don't optimize out updating flow cookie.

The OFPFC_MODIFY and OFPFC_MODIFY_STRICT optimizes out modifying the
actions if the actions didn't change, but it also skipped updating the
flow cookie in that case, which seems wrong.  This commit fixes the
problem.
ofproto/ofproto.c