[RFC nf-next 0/2] netfilter: bpf: support prog update

D. Wythe posted 2 patches 2 years ago
There is a newer version of this series
net/netfilter/nf_bpf_link.c                        | 124 ++++++++++++++++++---
.../bpf/prog_tests/netfilter_link_update_prog.c    |  83 ++++++++++++++
.../bpf/progs/test_netfilter_link_update_prog.c    |  24 ++++
3 files changed, 218 insertions(+), 13 deletions(-)
create mode 100644 tools/testing/selftests/bpf/prog_tests/netfilter_link_update_prog.c
create mode 100644 tools/testing/selftests/bpf/progs/test_netfilter_link_update_prog.c
[RFC nf-next 0/2] netfilter: bpf: support prog update
Posted by D. Wythe 2 years ago
From: "D. Wythe" <alibuda@linux.alibaba.com>

This patches attempt to support updating of progs with
bpf netfilter link, introducing a new RCU-protected context
to access the prog, and adding a corresponding test case.

D. Wythe (2):
  netfilter: bpf: support prog update
  selftests/bpf: Add netfilter link prog update test

 net/netfilter/nf_bpf_link.c                        | 124 ++++++++++++++++++---
 .../bpf/prog_tests/netfilter_link_update_prog.c    |  83 ++++++++++++++
 .../bpf/progs/test_netfilter_link_update_prog.c    |  24 ++++
 3 files changed, 218 insertions(+), 13 deletions(-)
 create mode 100644 tools/testing/selftests/bpf/prog_tests/netfilter_link_update_prog.c
 create mode 100644 tools/testing/selftests/bpf/progs/test_netfilter_link_update_prog.c

-- 
1.8.3.1