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

tls splice: remove inappropriate flags checking for MSG_PEEK



In function tls_sw_splice_read, before call tls_sw_advance_skb
it checks likely(!(flags & MSG_PEEK)), while MSG_PEEK is used
for recvmsg, splice supports SPLICE_F_NONBLOCK, SPLICE_F_MOVE,
SPLICE_F_MORE, should remove this checking.

Signed-off-by: default avatarJim Ma <majinjing3@gmail.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 34e7434b
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