datapath-windows: Return success for already existing WFP objects
authorSorin Vinturis <svinturis@cloudbasesolutions.com>
Thu, 18 Jun 2015 18:37:13 +0000 (18:37 +0000)
committerBen Pfaff <blp@nicira.com>
Tue, 23 Jun 2015 18:46:21 +0000 (11:46 -0700)
commitcecc36ef103627fb7fe53d235522a8c0fdad7a61
treebc6586f8b8f85bf5a6e1c5986f94e2aa673132f7
parent68156f55856fdbc3a9b168a73a0732eb3ca0fdfd
datapath-windows: Return success for already existing WFP objects

There are cases when the WFP callout or sublayer, being persistent
objects, already exists when we try to register the OVS callout. In
this cases, when trying to add again these WFP objects the return code
is STATUS_FWP_ALREADY_EXISTS, which we are interpreting as an error.
This is incorrect and this patch changes that.

Signed-off-by: Sorin Vinturis <svinturis@cloudbasesolutions.com>
Reported-by: Sorin Vinturis <svinturis@cloudbasesolutions.com>
Reported-at: https://github.com/openvswitch/ovs-issues/issues/84
Signed-off-by: Ben Pfaff <blp@nicira.com>
datapath-windows/ovsext/TunnelFilter.c