diff options
| author | James Hilliard <[email protected]> | 2022-08-29 21:05:46 +0000 |
|---|---|---|
| committer | Daniel Borkmann <[email protected]> | 2022-08-31 18:54:23 +0000 |
| commit | 14e5ce79943a72b9bf0fff8a5867320a9fa3e40d (patch) | |
| tree | 366c1cec405f7e3a454d85de08de45e2042b10b0 /net/ipv4/tcp.c | |
| parent | bpftool: Add support for querying cgroup_iter link (diff) | |
| download | kernel-14e5ce79943a72b9bf0fff8a5867320a9fa3e40d.tar.gz kernel-14e5ce79943a72b9bf0fff8a5867320a9fa3e40d.zip | |
libbpf: Add GCC support for bpf_tail_call_static
The bpf_tail_call_static function is currently not defined unless
using clang >= 8.
To support bpf_tail_call_static on GCC we can check if __clang__ is
not defined to enable bpf_tail_call_static.
We need to use GCC assembly syntax when the compiler does not define
__clang__ as LLVM inline assembly is not fully compatible with GCC.
Signed-off-by: James Hilliard <[email protected]>
Signed-off-by: Daniel Borkmann <[email protected]>
Link: https://lore.kernel.org/bpf/[email protected]
Diffstat (limited to 'net/ipv4/tcp.c')
0 files changed, 0 insertions, 0 deletions
