diff options
| author | Sreeram Ramachandran <sreeram@google.com> | 2014-10-30 10:01:07 -0700 |
|---|---|---|
| committer | Sreeram Ramachandran <sreeram@google.com> | 2014-10-30 17:42:46 +0000 |
| commit | 64166e7666e3cc7f4b9c715f2b4e19d28ae44c5a (patch) | |
| tree | fe9c0bcdcc7839fac97cff453a8cbacc66fa0d93 /server/InterfaceController.cpp | |
| parent | 2b8d1ead4ea2ff8cb5af1ce88033a8ea0d691402 (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.
Bug: 17205769
Change-Id: I3de557ddb82c95899623aa31b4b3ec7c955f5609
Diffstat (limited to 'server/InterfaceController.cpp')
0 files changed, 0 insertions, 0 deletions
