commit | 60e2193a600a3abee933ba0267e30794fcd0f20e | [log] [tgz] |
---|---|---|
author | Jim Ma <majinjing3@gmail.com> | Fri May 14 11:11:02 2021 +0800 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Thu Jun 03 09:00:47 2021 +0200 |
tree | 17483fd3ebbc744727c4548811140f09b0ac00af | |
parent | 886dd7f3e9d3e72f643159dbd060d489fb44fd90 [diff] |
tls splice: check SPLICE_F_NONBLOCK instead of MSG_DONTWAIT [ Upstream commit 974271e5ed45cfe4daddbeb16224a2156918530e ] In tls_sw_splice_read, checkout MSG_* is inappropriate, should use SPLICE_*, update tls_wait_data to accept nonblock arguments instead of flags for recvmsg and splice. Fixes: c46234ebb4d1 ("tls: RX path for ktls") Signed-off-by: Jim Ma <majinjing3@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net> Signed-off-by: Sasha Levin <sashal@kernel.org>