diff options
| author | Brad Cowie <[email protected]> | 2024-05-22 05:07:12 +0000 |
|---|---|---|
| committer | Martin KaFai Lau <[email protected]> | 2024-05-22 22:00:56 +0000 |
| commit | a87f34e742d279d54d529e4bc4763fdaab32a466 (patch) | |
| tree | cb8876a56ce1b7a557e21a223cd6efb486799086 /net/core/dev.c | |
| parent | net: netfilter: Make ct zone opts configurable for bpf ct helpers (diff) | |
| download | kernel-a87f34e742d279d54d529e4bc4763fdaab32a466.tar.gz kernel-a87f34e742d279d54d529e4bc4763fdaab32a466.zip | |
selftests/bpf: Update tests for new ct zone opts for nf_conntrack kfuncs
Add test for allocating and looking up ct entry in a
non-default ct zone with kfuncs bpf_{xdp,skb}_ct_alloc
and bpf_{xdp,skb}_ct_lookup.
Add negative tests for looking up ct entry in a different
ct zone to where it was allocated and with a different
direction.
Update reserved test for old struct definition to test for
ct_zone_id being set when opts size isn't NF_BPF_CT_OPTS_SZ (16).
Signed-off-by: Brad Cowie <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Martin KaFai Lau <[email protected]>
Diffstat (limited to 'net/core/dev.c')
0 files changed, 0 insertions, 0 deletions
