diff options
author | Jim Ma <majinjing3@gmail.com> | 2021-05-12 17:00:11 +0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2021-05-12 14:31:30 -0700 |
commit | d8654f4f9300e5e7cf8d5e7885978541cf61326b (patch) | |
tree | e69f746a8afc01f0e4b3c415b9646a7a9edaca77 /net/sched | |
parent | 34e7434ba4e97f4b85c1423a59b2922ba7dff2ea (diff) |
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 <majinjing3@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/sched')
0 files changed, 0 insertions, 0 deletions