[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <cover.1662050126.git.lorenzo@kernel.org>
Date: Thu, 1 Sep 2022 18:43:23 +0200
From: Lorenzo Bianconi <lorenzo@...nel.org>
To: bpf@...r.kernel.org
Cc: netdev@...r.kernel.org, ast@...nel.org, daniel@...earbox.net,
andrii@...nel.org, davem@...emloft.net, kuba@...nel.org,
edumazet@...gle.com, pabeni@...hat.com, pablo@...filter.org,
fw@...len.de, netfilter-devel@...r.kernel.org,
lorenzo.bianconi@...hat.com, brouer@...hat.com, toke@...hat.com,
memxor@...il.com
Subject: [PATCH bpf-next 0/4] Introduce bpf_ct_set_nat_info kfunc helper
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.
Kumar Kartikeya Dwivedi (2):
bpf: Add support for per-parameter trusted args
selftests/bpf: Extend KF_TRUSTED_ARGS test for __ref annotation
Lorenzo Bianconi (2):
net: netfilter: add bpf_ct_set_nat_info kfunc helper
selftests/bpf: add tests for bpf_ct_set_nat_info kfunc
Documentation/bpf/kfuncs.rst | 18 +++++++
kernel/bpf/btf.c | 39 ++++++++++-----
net/bpf/test_run.c | 9 +++-
net/netfilter/nf_conntrack_bpf.c | 49 ++++++++++++++++++-
.../testing/selftests/bpf/prog_tests/bpf_nf.c | 2 +
.../testing/selftests/bpf/progs/test_bpf_nf.c | 26 +++++++++-
tools/testing/selftests/bpf/verifier/calls.c | 38 +++++++++++---
7 files changed, 156 insertions(+), 25 deletions(-)
--
2.37.2
Powered by blists - more mailing lists