Correct, we need to mark is as deleted even if it was not added from user mode 
(so memory won't be released). If it gets too complex I will just update the 
port parameters.
Thanks,
Eitan

-----Original Message-----
From: Nithin Raju 
Sent: Wednesday, November 05, 2014 3:50 PM
To: Eitan Eliahu
Cc: dev@openvswitch.org
Subject: RE: [PATCH] datapath-windows: Update port property

> The original code should work even when the port is connected. 
> The port structure is not being reallocated rather just marked as deleted.
> The issue is with  create port function which insert the port to do 
> the port list even when it is already created.

This is true only if that port has been added from userspace, otherwise we go 
ahead and destroy the port.

-- Nithin
_______________________________________________
dev mailing list
dev@openvswitch.org
http://openvswitch.org/mailman/listinfo/dev

Reply via email to