datapath-windows: Solved BSOD when handling flows
authorSorin Vinturis <svinturis@cloudbasesolutions.com>
Wed, 1 Jul 2015 20:03:01 +0000 (20:03 +0000)
committerBen Pfaff <blp@nicira.com>
Wed, 1 Jul 2015 23:24:24 +0000 (16:24 -0700)
commitcddc232f432e186fc58ab638882ac740ddfddfb6
tree744a0c9b39eeab207768effcbf7f781d5b7157a8
parentb21f6c9b112d87bd921d8ad8d2be5e1ba007c24b
datapath-windows: Solved BSOD when handling flows

OvsPrepareFlow() returns an error only when the new flow allocation
fails. In this case HandleFlowPut() should return error without trying
to free the flow, thus avoiding the BSOD.

Signed-off-by: Sorin Vinturis <svinturis@cloudbasesolutions.com>
Reported-by: Sorin Vinturis <svinturis@cloudbasesolutions.com>
Reported-at: https://github.com/openvswitch/ovs-issues/issues/91
Acked-by: Alin Gabriel Serdean <aserdean@cloudbasesolutions.com>
Signed-off-by: Ben Pfaff <blp@nicira.com>
datapath-windows/ovsext/Flow.c