diff options
author | Victor Chang <vichang@google.com> | 2017-08-07 18:17:19 +0100 |
---|---|---|
committer | Victor Chang <vichang@google.com> | 2017-09-04 15:07:01 +0000 |
commit | 7e5fed009803c0b1db84ae8c7a113b84b80fa438 (patch) | |
tree | 60ee97affbec735bd5dc9acb2be3338d3d50aa67 /annotations/generate_annotated_java_files.py | |
parent | 2c9bf1099057a50df42d7257b2e16115051e1370 (diff) |
Fix DatagramSocketTest#test_getRemoteSocketAddress
- The test fails due to recent kernel patch
https://source.codeaurora.org/quic/la/kernel/msm-4.4/commit/net/ipv6?h=rel/msm-4.4&id=23287661af3e2fd5a6a5a7bbe2b8f066203456e0
- getLocalHost() returns IPv4-mapped IPv6 address. The socket connects
from this source address to a IPv6 address, i.e. loopback address. This
is no longer allowed after the kernel patch.
- The purpose is to test connection from IPv6 to IPv6. Change source
address to IPv6 loopback address
Test: DatagramSocketTest#test_getRemoteSocketAddress Pass
with Nexus 6P linux kernel 3.10 with local patch
Bug: 64284671
Bug: 64438334
Bug: 64308860
Bug: 64325565
Change-Id: I0c82567b98e7b87454d603e39ffb9f6592e7fb61
(cherry picked from commit 9a8e89adc057dad370a4d0479518051b06550ed1)
(cherry picked from commit c49ea68065a0c25fa81fbbe2334d55139b5f91a1)
Diffstat (limited to 'annotations/generate_annotated_java_files.py')
0 files changed, 0 insertions, 0 deletions