Android S Beta 1
Ignore ICMPv6 packets in _ExpectEspPacketOn

This patch ignores ICMPv6 packet in _ExpectEspPacketOn to
deflake xfrm_tunnel_test.

xfrm_tunnel_test was flaky in checking outbound ESP packet
because _ExpectEspPacketOn only expected one outbound packet but
sometimes the test would also sent out
ICMPv6 (Multicast Listener Report Message v2) or
ICMPv6 (Neighbor Solicitation). This patch ignores ICMPv6 to
deflake the test.

Bug: 183604054
Test: Ran ARCH=um SUBARCH=x86_64 ./run_net_test.sh \n
      --builder all_tests.sh on android-maineline for 50 times
      and all tests passed.
Signed-off-by: Yan Yan <evitayan@google.com>
Change-Id: Ie4bd6f803b3327832498cde3aababe2aedce4733
1 file changed
tree: 7d8eb8f1424f5a2cc90e06779c6d49e21d5cb233
  1. devicetree/
  2. net/
  3. Android.bp
  4. METADATA