[ovs-dev] [PATCH 1/2] ofproto.c: Fix port number leaking.

Ben Pfaff blp at ovn.org
Fri Nov 9 21:35:30 UTC 2018


On Wed, Nov 07, 2018 at 10:29:43PM -0800, Han Zhou wrote:
> From: Han Zhou <hzhou8 at ebay.com>
> 
> When there is an error in ofport_install(), the ofp port number is
> not deallocated, which leads to port number leak. For example,
> when there is an redundant tunnel port added in an OVS bridge,
> ovs-vswitchd will try to add the port to ofproto whenever OVSDB
> changes, which would trigger the port number leak, and over the
> time there won't be any port available for valid requests.
> 
> Signed-off-by: Han Zhou <hzhou8 at ebay.com>

Thanks a lot for the fixes.  I applied these to master.


More information about the dev mailing list