diff options
author | Hisanobu Watanabe <hisanobu.xa.watanabe@sonymobile.com> | 2016-06-07 19:55:41 +0900 |
---|---|---|
committer | Lorenzo Colitti <lorenzo@google.com> | 2017-01-19 12:38:22 +0900 |
commit | 2b465d889c433b018f62f42910f78d8957e9bdbd (patch) | |
tree | 716739074af00cfc733c4d0ac5edb9dca768acd6 /rs/java/android/renderscript/ProgramFragmentFixedFunction.java | |
parent | b1ccd81fba2deb4f0befa97610b3ec044eae8e26 (diff) |
VPN reconnection fails after manually disabling VPN
When disabling VPN manually, there was no trigger for ipsec-tools to
send “delete message” to VPN server. Therefore, connection information
is left in VPN server and next connection fails.
Fix this issue as below:
- Add “delete message” sending via flush in ipsec-tools when racoon
daemon stops
- Keep daemon alive when VPN.java exit() to let it finish sending to
VPN server
- Move close(socket) and stop(daemon) in VPN.java execute()
and monitorDaemons() to run() to gather cleaning block.
(cherry picked from commit 047454c759b46bbadb87ee3b64bf3e29afda48d6)
Change-Id: Ibfbd389b17de5b5a5d23cba59c8d1e05fbe12c15
Bug: 28279646
Bug: 33467086
Diffstat (limited to 'rs/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions