ofproto: Avoid memory leak in classifier on destruction.
authorBen Pfaff <blp@nicira.com>
Tue, 5 Apr 2011 22:58:06 +0000 (15:58 -0700)
committerBen Pfaff <blp@nicira.com>
Fri, 29 Apr 2011 21:31:59 +0000 (14:31 -0700)
ofproto_flush_flows() flushes the flow table but then it reintroduces flows
required by fail-open or in-band.  These are then leaked when the
classifier is destroyed a little later.

This fixes the problem by not reintroducing these flows when ofproto is
being destroyed.


No differences found