Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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: Jim Ma <[email protected]> Signed-off-by: David S. Miller <[email protected]>
- Loading branch information