diff options
author | Yue, VincentX <vincentx.yue@intel.com> | 2017-11-17 16:57:06 +0800 |
---|---|---|
committer | Tobias Thierer <tobiast@google.com> | 2017-12-05 15:00:10 +0000 |
commit | 225abc82f15069955e0f7868d2a5880d9a505e46 (patch) | |
tree | 24f573ce72727391e444782471081c21bb2d730b /include/ScopedJavaUnicodeString.h | |
parent | 16d3bc63f12e27349f234a5d3907d72377c87f4d (diff) |
Porting from http://r.android.com/453156 to 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
Merged-In: I0c82567b98e7b87454d603e39ffb9f6592e7fb61
Change-Id: I2f266e34222636704819bc98b81a3521fd5d9e08
Signed-off-by: Yue, VincentX <vincentx.yue@intel.com>
Diffstat (limited to 'include/ScopedJavaUnicodeString.h')
0 files changed, 0 insertions, 0 deletions