in-band: Drop in-band flows when turning off in-band control.
authorBen Pfaff <blp@nicira.com>
Tue, 6 Apr 2010 22:24:38 +0000 (15:24 -0700)
committerBen Pfaff <blp@nicira.com>
Tue, 20 Apr 2010 18:01:44 +0000 (11:01 -0700)
commitf7de2cdffcadaca5f62003f9c115052aa295aa70
tree09d685cacdf8ae7019ebdfe0e813265cfd6a7fec
parent7103dec49eb569c3196239da6c178a29c3003e2b
in-band: Drop in-band flows when turning off in-band control.

Destroying the in-band control object didn't remove the flows related to
in-band control, so they could persist until another event caused the
flow table to be reset.  Changing or removing the controller is one such
event, which would probably happen at the same time as turning off in-band
control, so this is a rather minor flaw, but it still seems good to fix it.
ofproto/in-band.c
ofproto/ofproto.c