diff options
author | Vakul Garg <vakul.garg@nxp.com> | 2019-01-16 08:40:58 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2019-01-17 11:57:45 -0800 |
commit | cea3bfb37482c601fc2f739bc0215e5c64e45ab0 (patch) | |
tree | 47e00a4679fab73dc8d7f59ae7a2bc53a1638f30 /tools/testing/selftests/net/tcp_mmap.c | |
parent | net: phy: check return code when requesting PHY driver module (diff) | |
download | linux-dev-cea3bfb37482c601fc2f739bc0215e5c64e45ab0.tar.xz linux-dev-cea3bfb37482c601fc2f739bc0215e5c64e45ab0.zip |
selftests/tls: Fix recv partial/large_buff test cases
TLS test cases recv_partial & recv_peek_large_buf_mult_recs expect to
receive a certain amount of data and then compare it against known
strings using memcmp. To prevent recvmsg() from returning lesser than
expected number of bytes (compared in memcmp), MSG_WAITALL needs to be
passed in recvmsg().
Signed-off-by: Vakul Garg <vakul.garg@nxp.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/testing/selftests/net/tcp_mmap.c')
0 files changed, 0 insertions, 0 deletions