| commit | ab3fee4246bd100a1d1d38e827d261f7f03701ba | [log] [tgz] |
|---|---|---|
| author | Junyu Lai <junyulai@google.com> | Wed Apr 12 13:53:36 2023 +0800 |
| committer | Junyu Lai <junyulai@google.com> | Wed May 31 14:14:01 2023 +0800 |
| tree | e4f040ad53330a66bef73e4bf5fdea1871b78838 | |
| parent | a1f16d02451f5c8fafbf01bc87bd930338cf3830 [diff] |
Fix crash when socket read is interrupted
The exception is thrown in some normal cases e.g. interrupt()
called when Os.read is blocked and waiting for the input.
Ignore such events.
Test: 1. atest NetworkStackCoverageMtsConfigTests on S device
2. atest com.android.cts.net.HostsideVpnTests
3. atest NetworkStatsIntegrationTest
Bug: 259632210
Change-Id: Ibff41312d9c7431c2b19f780844ab3a81b48f9e8