diff options
author | Daniel Xu <dxu@dxuuu.xyz> | 2023-07-21 14:22:45 -0600 |
---|---|---|
committer | Alexei Starovoitov <ast@kernel.org> | 2023-07-28 16:52:08 -0700 |
commit | 9abddac583d68e16258d5e0b95dc1b3ca1886173 (patch) | |
tree | 065a0d905a6539561d7d3946816df8d4356f802e /tools/testing/selftests/bpf/network_helpers.c | |
parent | ee932bf940d4f624041293fab216cb1783b5df6b (diff) | |
download | linux-9abddac583d68e16258d5e0b95dc1b3ca1886173.tar.gz linux-9abddac583d68e16258d5e0b95dc1b3ca1886173.tar.bz2 linux-9abddac583d68e16258d5e0b95dc1b3ca1886173.zip |
netfilter: defrag: Add glue hooks for enabling/disabling defrag
We want to be able to enable/disable IP packet defrag from core
bpf/netfilter code. In other words, execute code from core that could
possibly be built as a module.
To help avoid symbol resolution errors, use glue hooks that the modules
will register callbacks with during module init.
Signed-off-by: Daniel Xu <dxu@dxuuu.xyz>
Reviewed-by: Florian Westphal <fw@strlen.de>
Link: https://lore.kernel.org/r/f6a8824052441b72afe5285acedbd634bd3384c1.1689970773.git.dxu@dxuuu.xyz
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Diffstat (limited to 'tools/testing/selftests/bpf/network_helpers.c')
0 files changed, 0 insertions, 0 deletions