diff options
author | 2022-09-21 19:25:26 -0700 | |
---|---|---|
committer | 2022-09-21 19:25:27 -0700 | |
commit | 2d863b14fbd9795c627074b4f344141ef3621b81 (patch) | |
tree | 398875d4e0a357355669b1a14851612ff4c8fb8e /net/lapb/lapb_subr.c | |
parent | bpf: Always use raw spinlock for hash bucket lock (diff) | |
parent | selftests/bpf: add tests for bpf_ct_set_nat_info kfunc (diff) | |
download | linux-rng-2d863b14fbd9795c627074b4f344141ef3621b81.tar.xz linux-rng-2d863b14fbd9795c627074b4f344141ef3621b81.zip |
Merge branch 'Introduce bpf_ct_set_nat_info kfunc helper'
Lorenzo Bianconi says:
====================
Introduce bpf_ct_set_nat_info kfunc helper in order to set source and
destination nat addresses/ports in a new allocated ct entry not inserted
in the connection tracking table yet.
Introduce support for per-parameter trusted args.
Changes since v2:
- use int instead of a pointer for port in bpf_ct_set_nat_info signature
- modify KF_TRUSTED_ARGS definition in order to referenced pointer constraint
just for PTR_TO_BTF_ID
- drop patch 2/4
Changes since v1:
- enable CONFIG_NF_NAT in tools/testing/selftests/bpf/config
Kumar Kartikeya Dwivedi (1):
bpf: Tweak definition of KF_TRUSTED_ARGS
====================
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Diffstat (limited to 'net/lapb/lapb_subr.c')
0 files changed, 0 insertions, 0 deletions