diff options
author | YueHaibing <yuehaibing@huawei.com> | 2020-03-20 05:34:26 +0300 |
---|---|---|
committer | Daniel Borkmann <daniel@iogearbox.net> | 2020-03-20 17:56:55 +0300 |
commit | c0fd336ea4ca82377fbb0954db09d765eb794339 (patch) | |
tree | 22de800386bce70aa83175cdac9d81c0ed12f5ff /net/ipv4/ip_sockglue.c | |
parent | a26527981af2988ae0f17f6d633848c019929e38 (diff) | |
download | linux-c0fd336ea4ca82377fbb0954db09d765eb794339.tar.xz |
bpf, tcp: Make tcp_bpf_recvmsg static
After commit f747632b608f ("bpf: sockmap: Move generic sockmap
hooks from BPF TCP"), tcp_bpf_recvmsg() is not used out of
tcp_bpf.c, so make it static and remove it from tcp.h. Also move
it to BPF_STREAM_PARSER #ifdef to fix unused function warnings.
Fixes: f747632b608f ("bpf: sockmap: Move generic sockmap hooks from BPF TCP")
Signed-off-by: YueHaibing <yuehaibing@huawei.com>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Acked-by: Yonghong Song <yhs@fb.com>
Link: https://lore.kernel.org/bpf/20200320023426.60684-3-yuehaibing@huawei.com
Diffstat (limited to 'net/ipv4/ip_sockglue.c')
0 files changed, 0 insertions, 0 deletions