[ovs-git] [openvswitch/ovs] 84018c: netdev: Retry getting interfaces on inconsistent d...
noreply at github.com
Wed Aug 15 20:39:47 UTC 2018
Author: Daniel Alvarez <dalvarez at redhat.com>
Date: 2018-08-15 (Wed, 15 Aug 2018)
netdev: Retry getting interfaces on inconsistent dumps from kernel
This patch in glibc  is fixing a bug where we may be getting
inconsistent dumps from the kernel when listing interfaces due to
a race condition.
This could happen if we try to retrieve them while interfaces are
being added/removed from the system at the same time.
For systems running against old glibc versions, this patch is retrying
the operation up to 3 times and then proceeding by logging a
Note that 3 times should be enough to not delay the operation much
and since it's unlikely that we hit the race condition 3 times in
a row. Still, if this happened, this patch is not changing the
Signed-off-by: Daniel Alvarez <dalvarez at redhat.com>
Signed-off-by: Jiri Benc <jbenc at redhat.com>
Co-authored-by: Jiri Benc <jbenc at redhat.com>
Signed-off-by: Ben Pfaff <blp at ovn.org>
**NOTE:** This service has been marked for deprecation: https://developer.github.com/changes/2018-04-25-github-services-deprecation/
Functionality will be removed from GitHub.com on January 31st, 2019.
More information about the git