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:
Xu YiPing <xuyiping@hisilicon.com>
Change-Id: Id55c60c31976de97355456837216429737d79e7a
Merged-In: I3b54c7fd401fc0f292269c1554d4ddc4128adf6d
Loading
Please sign in to comment