summaryrefslogtreecommitdiffstats
path: root/net/sched
diff options
context:
space:
mode:
authorVakul Garg <vakul.garg@nxp.com>2018-09-28 21:48:08 +0530
committerDavid S. Miller <davem@davemloft.net>2018-10-01 23:18:15 -0700
commit0ed3015c9964dab7a1693b3e40650f329c16691e (patch)
tree6ecfff81b7f9b77a4e9a9cf894e4448901ef0892 /net/sched
parente3a9667a5bf7e520a1fa24eadccc6010c135ec53 (diff)
downloadblackbird-op-linux-0ed3015c9964dab7a1693b3e40650f329c16691e.tar.gz
blackbird-op-linux-0ed3015c9964dab7a1693b3e40650f329c16691e.zip
selftests/tls: Fix recv(MSG_PEEK) & splice() test cases
TLS test cases splice_from_pipe, send_and_splice & recv_peek_multiple_records expect to receive a given nummber of bytes and then compare them against the number of bytes which were sent. Therefore, system call recv() must not return before receiving the requested number of bytes, otherwise the subsequent memcmp() fails. This patch passes MSG_WAITALL flag to recv() so that it does not return prematurely before requested number of bytes are copied to receive buffer. Signed-off-by: Vakul Garg <vakul.garg@nxp.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/sched')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud