ofproto: Fix effective memory leak for uninstallable flows.
authorBen Pfaff <blp@nicira.com>
Thu, 30 Sep 2010 17:13:47 +0000 (10:13 -0700)
committerBen Pfaff <blp@nicira.com>
Thu, 7 Oct 2010 17:30:54 +0000 (10:30 -0700)
commit431d470740d6c8ad4fea738821729096c3e0faf4
treee1ee02013bb80cca9b1976f234e5913b3940d4c2
parent3b5876160405679bac9ff6832b6a36971e65afa2
ofproto: Fix effective memory leak for uninstallable flows.

In one or two corner cases, flows cannot be installed because every packet
in the flow must be processed by userspace.  The code to expire rules was
ignoring these uninstallable rules, and thus they would never get freed,
even after they became idle.  This commit fixes the problem.
ofproto/ofproto.c