We aren't returning to the caller of the bridge APIs until the
userspace vswitchd completes changes. This timeout exists to return
an error if that is taking too long. Extending it to error by being
too conservative (waiting too long) in an attempt to make sure vswitch
and the brcompat user don't get out of sync.
if (error)
return error;
- for (i = 0; i < 100; i++) {
+ for (i = 0; i < 50; i++) {
int dev_ifindex = dev->ifindex;
int port_ifindex = port->ifindex;
rtnl_unlock();
- msleep(10);
+ msleep(100);
rtnl_lock();
/* Since we released the RTNL lock, we have to make sure that