diff options
| author | Lorenzo Colitti <lorenzo@google.com> | 2020-06-18 16:36:32 +0000 |
|---|---|---|
| committer | Lorenzo Colitti <lorenzo@google.com> | 2020-06-19 02:43:57 +0000 |
| commit | 93e59ee7260eb2fdd89e89e8eea8e63da73f3bb5 (patch) | |
| tree | df6c745c0b59393679fbb08d4a68d1106e2d6f64 /Tethering/common/TetheringLib/src/android/net/TetheringManager.java | |
| parent | e7afe55bebb742e9517925a9caeab8931b0ea08d (diff) | |
Memory leak due to no stop for IpNeighborMonitor.
1. When Wi-Fi enabled, ap0 interface is added and IpNeighborMonitor's
start() is invoked in IpServer's constructor.
2. There's no stop for IpNeighborMonitor when IpServer stop.
3. During overnight test for Wi-Fi, networkstack is too slow to
process request due to memory leak in IpNeighborMonitor and
binder buffer is blocked causing exception.
Solution: Invoke IpNeighborMonitor.stop() in UnavailableState.enter().
Bug: 159097215
Test: automatic, turn on and off Wi-Fi every 6 seconds overnight
Original-Change: https://android-review.googlesource.com/1343440
Merged-In: I8f60c13706f05306e8f25a15f7861d7ecabbc10e
Change-Id: I8f60c13706f05306e8f25a15f7861d7ecabbc10e
Diffstat (limited to 'Tethering/common/TetheringLib/src/android/net/TetheringManager.java')
0 files changed, 0 insertions, 0 deletions
