commit | 7d4de3b1fc815f11c439d89639a39fb4db90057f | [log] [tgz] |
---|---|---|
author | Xu YiPing <xuyiping@hisilicon.com> | Fri Oct 19 17:55:06 2018 +0800 |
committer | Lorenzo Colitti <lorenzo@google.com> | Tue Oct 23 12:55:03 2018 +0900 |
tree | e2874918e6c0045e666ef3086078cae99e1912da | |
parent | 7389196f88206c4b7dc3845dfcb28dc2a91438e9 [diff] |
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