Fix leaking of flows when output action validation fails.
authorJustin Pettit <jpettit@nicira.com>
Sat, 25 Oct 2008 00:24:06 +0000 (17:24 -0700)
committerJustin Pettit <jpettit@nicira.com>
Sat, 25 Oct 2008 00:24:06 +0000 (17:24 -0700)
commitb89bd39fd949dbed8565e11e690372e0dea19c5f
tree873801bb5be97af27bf0605b92f8e13d3272f446
parent18d534b64e5342945443aacc30cb287c1445206b
Fix leaking of flows when output action validation fails.

When action validation fails from a flow add, the flow would be leaked.  This
caused the kmem cache (which handles allocating flow entries) to be unhappy
when we try to unload the OpenFlow module.

Thanks to Brandon Heller for catching this.
datapath/forward.c