secchan: When listing flows, uninstall rules that shouldn't be installed.
authorBen Pfaff <blp@nicira.com>
Mon, 4 May 2009 23:18:19 +0000 (16:18 -0700)
committerBen Pfaff <blp@nicira.com>
Mon, 4 May 2009 23:18:19 +0000 (16:18 -0700)
commitbf2ebb02b79918d1fc15bdcbfa81b13e8077c7cd
treee333695493c7e11edb4ff33265ec444d93a33f40
parent015873ec6c3c1a440c32d9d0b7938129228871b3
secchan: When listing flows, uninstall rules that shouldn't be installed.

To implement flow expiration, secchan periodically queries all the flows
in the datapath flow table.  Until now, it has then uninstalled flows that
do not have corresponding rules at all.  It has not uninstalled flows that
do have rules that are not supposed to be installed.  This commit makes it
also uninstall the latter.

(This is not known to fix any real problem.  It is only for completeness.)
secchan/ofproto.c