[ovs-dev] [PATCH v2] datapath-windows: Removed duplicate instance pid removal

Gurucharan Shetty shettyg at nicira.com
Tue Apr 28 21:17:32 UTC 2015


On Thu, Apr 23, 2015 at 1:37 PM, Sorin Vinturis
<svinturis at cloudbasesolutions.com> wrote:
> Instance PID is already deleted in the OvsCleanupPacketQueue function.
>
> v2: Rebased the patch.
Please put it below '---'
>
> Signed-off-by: Sorin Vinturis <svinturis at cloudbasesolutions.com>
Applied, thanks!
> ---
>  datapath-windows/ovsext/User.c | 6 ------
>  1 file changed, 6 deletions(-)
>
> diff --git a/datapath-windows/ovsext/User.c b/datapath-windows/ovsext/User.c
> index 03f0377..76a9ed1 100644
> --- a/datapath-windows/ovsext/User.c
> +++ b/datapath-windows/ovsext/User.c
> @@ -163,12 +163,6 @@ OvsSubscribeDpIoctl(PVOID instanceP,
>      if (instance->packetQueue && !join) {
>          /* unsubscribe */
>          OvsCleanupPacketQueue(instance);
> -
> -        OvsAcquirePidHashLock();
> -        /* Remove the instance from pidHashArray */
> -        OvsDelPidInstance(gOvsSwitchContext, pid);
> -        OvsReleasePidHashLock();
> -
>      } else if (instance->packetQueue == NULL && join) {
>          queue = (POVS_USER_PACKET_QUEUE) OvsAllocateMemoryWithTag(
>              sizeof *queue, OVS_USER_POOL_TAG);
> --
> 1.9.0.msysgit.0
> _______________________________________________
> dev mailing list
> dev at openvswitch.org
> http://openvswitch.org/mailman/listinfo/dev



More information about the dev mailing list