The first patch bumps the minimum version to 4.16 in order to allow us to use a useful macro and function in patches 2 & 3. 4 makes the proc_lock mutex a per-net variable. 5 removes an obsolete write memory-barrier. 6-8 tidy up the clean-up of matches when a namespace is deleted. Jeremy Sowden (8): build: bump minimum supported kernel version from 4.15 to 4.16. xt_condition: use sizeof_field macro to size variable name. xt_condition: use `xt_check_proc_name` to validate /proc file-name. xt_condition: make mutex per-net. xt_condition: remove `wmb` when adding new variable. xt_condition: use `proc_net_condition` member of `struct condition_net`to signal that `condition_net_exit` has been called. xt_condition: don't delete variables in `condition_net_exit`. xt_condition: simplify clean-up of variables. configure.ac | 2 +- extensions/xt_condition.c | 54 +++++++++++++-------------------------- 2 files changed, 19 insertions(+), 37 deletions(-) -- 2.32.0