ofproto: Delete fail-open flow when turning off fail-open mode.
authorBen Pfaff <blp@nicira.com>
Tue, 23 Feb 2010 23:14:15 +0000 (15:14 -0800)
committerBen Pfaff <blp@nicira.com>
Wed, 24 Feb 2010 00:45:34 +0000 (16:45 -0800)
commit2f6d344525463ebe52f6bbd0e9a4cc22e33dacbe
tree55cd99e2a310cc9ed862a3e6a346d0ba415350b6
parent48d014bff2b896b3a9d8937d26facad9a54d5a1a
ofproto: Delete fail-open flow when turning off fail-open mode.

fail_open_destroy() was not deleting the fail-open flow, so turning off
fail-open mode did not work if fail-open had already been triggered.
This commit fixes the problem.

Reported by Paul Ingram <paul@nicira.com>.
ofproto/fail-open.c
ofproto/ofproto.c