mbox series

[v2,0/8] netfilter: kconfig symbol updates

Message ID 20201021071743.92801-1-yszhou4tech@gmail.com
Headers show
Series netfilter: kconfig symbol updates | expand


Yousong Zhou Oct. 21, 2020, 7:17 a.m. UTC
The series was based work by Tony Ambardar in GitHub pull request [1].
Many investigations were done by Tony annd many changes were done by me.
All errors are mine of course.

 [1] https://github.com/openwrt/openwrt/pull/3257

The work focused on the following aspects.

 - Use current config symbols when possible, instead of those retained
   for compat reasons
 - Many kconfig symbols for conntrack and nat functions are now bool
   without prompt, instead of previously being old tristate.  Version
   conditionals are added for old kernel versions and they are now in
   unset state in target config as these options can only be enabled
   when selected by others

v2 <- v1

 - Add a new patch to remove now non-existent kmod nf_nat_redirect as
   suggested by Adrian Schmutzler
 - Fix wording of "netfilter.mk: add version conditional around

Tony Ambardar (1):
  netfilter.mk: add version conditional for CONFIG_NF_CT_PROTO_GRE

Yousong Zhou (7):
  netfilter.mk: add version conditional for nf_nat_ipv4,6
  generic: 5.4: make nf nat masquerade in unset state by default
  netfilter.mk: add version conditional around CONFIG_NF_NAT_PROTO_GRE
  netfilter.mk: add version conditional around nf_nat_redirect mod
  netfilter.mk: remove now obsolete kmod nf_nat_redirect

 include/netfilter.mk            | 13 ++++++-------
 target/linux/generic/config-5.4 |  3 +--
 2 files changed, 7 insertions(+), 9 deletions(-)