Skip to content
Commit 389a5fe1 authored by chiachangwang's avatar chiachangwang
Browse files

Duplicate the fd instead of reference

The mFd member was assigned with the original fd. When the auto
Keepalive was closed as system tried to create another auto
Keepalive, the real fd would be closed unexpected. The fd
assignment should come from a duplicate as what the code does
for auto keepalvie.

Bug: 290094178
Test: atest FrameworksNetTests
Test: atest android.net.cts.ConnectivityManagerTest
Change-Id: Ibc153c3f37f9e755446179d3b67178335bc2633d
parent b9547712
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment