tcp: Introduce tcp_read_skb()
This patch inroduces tcp_read_skb() based on tcp_read_sock(), a preparation for the next patch which actually introduces a new sock ops. TCP is special here, because it has tcp_read_sock() which is mainly used by splice(). tcp_read_sock() supports partial read and arbitrary offset, neither of them is needed for sockmap. Signed-off-by:Cong Wang <cong.wang@bytedance.com> Signed-off-by:
Daniel Borkmann <daniel@iogearbox.net> Reviewed-by:
Eric Dumazet <edumazet@google.com> Reviewed-by:
John Fastabend <john.fastabend@gmail.com> Link: https://lore.kernel.org/bpf/20220615162014.89193-2-xiyou.wangcong@gmail.com
Loading
-
mentioned in commit 4ae2af3e
-
mentioned in commit ab90b68f
-
mentioned in commit ba4fec5b
-
mentioned in commit 3a2129eb
-
mentioned in commit fe735073
-
mentioned in commit dd628fc6
-
mentioned in commit 9f4d7efb
-
mentioned in commit c024db96
-
mentioned in commit 46052a98
-
mentioned in commit fc5c5d7e
-
mentioned in commit f4b72d69
Please register or sign in to comment