diff options
author | Lorenz Bauer <lmb@cloudflare.com> | 2020-03-09 12:12:35 +0100 |
---|---|---|
committer | Daniel Borkmann <daniel@iogearbox.net> | 2020-03-09 22:34:58 +0100 |
commit | 5da0040442312a2b696748f8240243ce543a4970 (patch) | |
tree | ddfbd323d0b4352ac9fb7711ff61b6f1f421468c /net/ipv4 | |
parent | bpf: tcp: Move assertions into tcp_bpf_get_proto (diff) | |
download | linux-5da0040442312a2b696748f8240243ce543a4970.tar.xz linux-5da0040442312a2b696748f8240243ce543a4970.zip |
bpf: tcp: Guard declarations with CONFIG_NET_SOCK_MSG
tcp_bpf.c is only included in the build if CONFIG_NET_SOCK_MSG is
selected. The declaration should therefore be guarded as such.
Signed-off-by: Lorenz Bauer <lmb@cloudflare.com>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Reviewed-by: Jakub Sitnicki <jakub@cloudflare.com>
Acked-by: John Fastabend <john.fastabend@gmail.com>
Link: https://lore.kernel.org/bpf/20200309111243.6982-5-lmb@cloudflare.com
Diffstat (limited to 'net/ipv4')
0 files changed, 0 insertions, 0 deletions