Commit 7d4de3b1 authored by Xu YiPing's avatar Xu YiPing Committed by Lorenzo Colitti
Browse files

Improve xfrm net test



In kernel_net_test/xfrm_tunnel_test.XfrmVtiTest

The testcases write packets to the tunnel, then check the count of rx/tx
packets number on the interface.

However, the packets are processed *asynchronously* in kernel.

So, receive the packets before check the rx count

Backport of I3b54c7fd401fc0f292269c1554d4ddc4128adf6d.

Test: run vts/kernel_net_tests
Bug: 117532237
Signed-off-by: default avatarXu YiPing <xuyiping@hisilicon.com>
Change-Id: Id55c60c31976de97355456837216429737d79e7a
Merged-In: I3b54c7fd401fc0f292269c1554d4ddc4128adf6d
parent 7389196f
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment