mbox series

[v2,bpf-next,0/2] net: netfilter: add kfunc helper to update ct timeout

Message ID cover.1652372970.git.lorenzo@kernel.org (mailing list archive)
Headers show
Series net: netfilter: add kfunc helper to update ct timeout | expand

Message

Lorenzo Bianconi May 12, 2022, 4:34 p.m. UTC
Changes since v1:
- add bpf_ct_refresh_timeout kfunc selftest

Lorenzo Bianconi (2):
  net: netfilter: add kfunc helper to update ct timeout
  selftests/bpf: add selftest for bpf_ct_refresh_timeout kfunc

 include/net/netfilter/nf_conntrack.h          |  1 +
 net/netfilter/nf_conntrack_bpf.c              | 20 +++++++++++++++++
 net/netfilter/nf_conntrack_core.c             | 21 +++++++++++-------
 .../testing/selftests/bpf/prog_tests/bpf_nf.c | 10 +++++++++
 .../testing/selftests/bpf/progs/test_bpf_nf.c | 22 +++++++++++++++++++
 5 files changed, 66 insertions(+), 8 deletions(-)