Skip to content
Commit 974271e5 authored by Jim Ma's avatar Jim Ma Committed by David S. Miller
Browse files

tls splice: check SPLICE_F_NONBLOCK instead of MSG_DONTWAIT



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: c46234eb ("tls: RX path for ktls")
Signed-off-by: default avatarJim Ma <majinjing3@gmail.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 75016891
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment