commit | 4429e878fb22733cfa2dfae20efceeb8dbf0338b | [log] [tgz] |
---|---|---|
author | Vinit Deshapnde <vinitd@google.com> | Tue Nov 12 15:36:37 2013 -0800 |
committer | Vinit Deshapnde <vinitd@google.com> | Tue Nov 12 15:36:37 2013 -0800 |
tree | ce88750e3b2ecb81a039864e6ade67a2a6b02835 | |
parent | 9a101919d91907ed71501afbc7fcbfb19dcecf8d [diff] |
Get rid of a race in NsdService in stopResolveService and getAddrInfo Both requests are made using same id; and there is a chance that stopResolve() is not fully completed when getAddrInfo() is issued. That results getAddrInfo() failure, because both are using same requestId. This change fixes this problem by creating a new unique id to call getAddrInfo() with. Bug: 11597153 Change-Id: I56bd78740e8a40bd31c52705dc797486aff53a50