ofproto: Revert change in flow cookie when an ofoperation fails.
authorBen Pfaff <blp@nicira.com>
Fri, 6 Jul 2012 17:36:00 +0000 (10:36 -0700)
committerBen Pfaff <blp@nicira.com>
Thu, 12 Jul 2012 21:12:59 +0000 (14:12 -0700)
commit41792464296d4ea9393adff3eea7bef514655cba
tree568b45f2e5cd7a27f908cdd5845c86b76d27d882
parenta644168568471eb33f8d1e60e872859f4e5bbc69
ofproto: Revert change in flow cookie when an ofoperation fails.

The flow_cookie member of struct ofoperation has always been there, but it
seems that it's never been used.  This fixes the code so that if a modify
operation fails the rule's original flow cookie is restored.

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