diff options
| author | Sreeram Ramachandran <sreeram@google.com> | 2014-10-30 10:01:07 -0700 |
|---|---|---|
| committer | Lorenzo Colitti <lorenzo@google.com> | 2015-01-29 17:40:04 +0900 |
| commit | 0321315d4e94dacd5ef2e0de217059cbc72d803d (patch) | |
| tree | 4d89277b199a7eaf09652b82c271cd777524926f /server/TetherController.cpp | |
| parent | 6ef96c4862428e02a0c4aebbfa1ed0ccbf58b46e (diff) | |
Don't fail when trying to add routes that already exist.
Previously, we suppressed failures for the special case of
requestRouteToHost() being called multiple times. Turns out that other
parts of the system also try to add duplicate routes, so just suppress
EEXIST errors in general (as far as adding routes is concerned). For
example, this happens when the WiFi P2P DHCP client renews its lease
and blindly requests to add a route that it had already added before.
(cherry picked from commit 64166e7666e3cc7f4b9c715f2b4e19d28ae44c5a)
Bug: 17205769
Change-Id: I11d50052f616cb48a912d647b8024ccef01b736d
Diffstat (limited to 'server/TetherController.cpp')
0 files changed, 0 insertions, 0 deletions
