diff options
author | Cong Wang <cong.wang@bytedance.com> | 2021-03-31 04:32:33 +0200 |
---|---|---|
committer | Alexei Starovoitov <ast@kernel.org> | 2021-04-01 19:56:14 +0200 |
commit | 2bc793e3272a13e337416c057cb81c5396ad91d1 (patch) | |
tree | 1a611b3ce3edf032e4f6a9430fa8c5cd719e1728 /net/ipv4/tcp_cdg.c | |
parent | udp: Implement ->read_sock() for sockmap (diff) | |
download | linux-2bc793e3272a13e337416c057cb81c5396ad91d1.tar.xz linux-2bc793e3272a13e337416c057cb81c5396ad91d1.zip |
skmsg: Extract __tcp_bpf_recvmsg() and tcp_bpf_wait_data()
Although these two functions are only used by TCP, they are not
specific to TCP at all, both operate on skmsg and ingress_msg,
so fit in net/core/skmsg.c very well.
And we will need them for non-TCP, so rename and move them to
skmsg.c and export them to modules.
Signed-off-by: Cong Wang <cong.wang@bytedance.com>
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Link: https://lore.kernel.org/bpf/20210331023237.41094-13-xiyou.wangcong@gmail.com
Diffstat (limited to 'net/ipv4/tcp_cdg.c')
0 files changed, 0 insertions, 0 deletions