-
Notifications
You must be signed in to change notification settings - Fork 232
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
clang version 18.1.3 on Ubuntu 24.04.1 LTS ignores the hint 'inline' while compiling bpf/tcp-services.c, which, in turn, leads to Gatekeeper servers to fail to load that BPF. clang does this because some inline functions in bpf/tcp-services.c increase the number of jumping states a lot (see is_port_listed_forward() and is_port_listed_back()). Although clang's decision is smart from an optimization point of view, it breaks Gatekeeper because DPDK's BPF library does not support a BPF function to call another BPF function.
- Loading branch information
1 parent
b069d04
commit c512a5a
Showing
3 changed files
with
16 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters