diff options
author | YueHaibing <[email protected]> | 2020-03-20 10:34:26 +0800 |
---|---|---|
committer | Daniel Borkmann <[email protected]> | 2020-03-20 15:56:55 +0100 |
commit | c0fd336ea4ca82377fbb0954db09d765eb794339 (patch) | |
tree | 22de800386bce70aa83175cdac9d81c0ed12f5ff /lib/test_overflow.c | |
parent | a26527981af2988ae0f17f6d633848c019929e38 (diff) |
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 <[email protected]>
Signed-off-by: Daniel Borkmann <[email protected]>
Acked-by: Yonghong Song <[email protected]>
Link: https://lore.kernel.org/bpf/[email protected]
Diffstat (limited to 'lib/test_overflow.c')
0 files changed, 0 insertions, 0 deletions