Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit e61583af authored by Android Build Coastguard Worker's avatar Android Build Coastguard Worker
Browse files

Snap for 9830776 from 87d07735 to udc-release

Change-Id: I937c3bfd9b26244eda1eb6b2eca9d810083dd25d
parents c8e9e045 87d07735
Loading
Loading
Loading
Loading
+23 −24
Original line number Original line Diff line number Diff line
@@ -1284,8 +1284,8 @@ ResolvCacheStatus resolv_cache_lookup(unsigned netid, span<const uint8_t> query,


        if (!cache_has_pending_request_locked(cache, &key, true)) {
        if (!cache_has_pending_request_locked(cache, &key, true)) {
            return RESOLV_CACHE_NOTFOUND;
            return RESOLV_CACHE_NOTFOUND;
        }


        } else {
        LOG(INFO) << __func__ << ": Waiting for previous request";
        LOG(INFO) << __func__ << ": Waiting for previous request";
        // wait until (1) timeout OR
        // wait until (1) timeout OR
        //            (2) cv is notified AND no pending request matching the |key|
        //            (2) cv is notified AND no pending request matching the |key|
@@ -1311,7 +1311,6 @@ ResolvCacheStatus resolv_cache_lookup(unsigned netid, span<const uint8_t> query,
            return RESOLV_CACHE_NOTFOUND;
            return RESOLV_CACHE_NOTFOUND;
        }
        }
    }
    }
    }


    now = _time_now();
    now = _time_now();