diff options
| author | Cong Wang <[email protected]> | 2022-06-15 16:20:11 +0000 |
|---|---|---|
| committer | Daniel Borkmann <[email protected]> | 2022-06-20 12:05:52 +0000 |
| commit | 04919bed948dc22a0032a9da867b7dcb8aece4ca (patch) | |
| tree | 434852050f126b3f99b6bb2d73df48e4cbc1570c /net/unix/af_unix.c | |
| parent | Merge branch 'mlxsw-unified-bridge-conversion-part-1' (diff) | |
| download | kernel-04919bed948dc22a0032a9da867b7dcb8aece4ca.tar.gz kernel-04919bed948dc22a0032a9da867b7dcb8aece4ca.zip | |
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 <[email protected]>
Signed-off-by: Daniel Borkmann <[email protected]>
Reviewed-by: Eric Dumazet <[email protected]>
Reviewed-by: John Fastabend <[email protected]>
Link: https://lore.kernel.org/bpf/[email protected]
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions
