Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
dpctl: Fix netdev reference leak in "show" command.
This specific Netdev leak is causing us stale VHU entries, where it is showing false limit reaching maximum and preventing us to create new entries for us. This leak can impact other nics also. Steps to reproduce, While running a test with a continous VM creation/deletion using an orchestration script with-in cloud environment. In parallel we have some monitoring script calling ovs-appctl dpctl/show stats commands every minute. Root-cause analysis, During VHU port delete, one of netdev references were not reduced to 0 as show_dpif call has not given-up the reference back or doing bad cleanup. This pending deference preventing VHU deletion sequence, this is found to be one of corner case inside dpctl code which results in leaking up netdev which ultimately results in stale VHU entry. After fixing this problematic cleanup, issue is not seen. Fixes: fceef20 ("dpctl: add ovs-appctl dpctl/* commands to talk to dpif-netdev") Signed-off-by: Vipul Ashri <vipul.ashri@ericsson.com> Reviewed-by: David Marchand <david.marchand@redhat.com> Signed-off-by: Simon Horman <horms@ovn.org>
- Loading branch information