Add xdp dns rate limit program with bpf_printk deleted

XDP dns rate limit program has static tail call
which requires revert xdp-tool commit:
(039bdea "xdp-loader: Only load the BPF program we need from object files")

XDP dns rate limit program also uses bpf_printk helper which is not
supported on FireBeeOS since kernel CONFIG_BPF_EVENTS which allows user
to do kprobe, uprobe, tracepoint is not enabled, so bpf_printk helper is
not available, so removed bpf_printk

see discussion in [0] xdp-loader load xdp program with bpf tail call result in Bad file descriptor(-9)

[0] https://github.com/xdp-project/xdp-tools/issues/377

Signed-off-by: Vincent Li <vincent.mc.li@gmail.com>
This commit is contained in:
Vincent Li
2024-04-08 16:32:13 +00:00
parent 33cc594e39
commit 9f86b661cb
2 changed files with 2 additions and 1 deletions

View File

@@ -41,7 +41,7 @@ objects = $(DL_FILE)
$(DL_FILE) = $(DL_FROM)/$(DL_FILE)
$(DL_FILE)_BLAKE2 = 8ac57d140e60eb71b154c6485e669319ee60145a871ea68e992f9df9cddf6e1e6b753b64ae98a788544c5db208e812706557d909e926b640cef0f6eaf144f854
$(DL_FILE)_BLAKE2 = 509ba4ebd9ff98135fc042bdb036dcdcfb49bb533ba407b2f5e5951529768e3f99cc5b2c3017fc3977669aef0eb75c0afcbf10b07c705417fe8dc4ffc0ab804a
install : $(TARGET)