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

Yousong Zhou yszhou4tech at gmail.com
Wed Oct 21 03:17:35 EDT 2020


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
   CONFIG_NF_NAT_PROTO_GRE"

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

Yousong Zhou (7):
  netfilter.mk: use CONFIG_NETFILTER_XT_TARGET_MASQUERADE
  netfilter.mk: use CONFIG_NETFILTER_XT_TARGET_REDIRECT
  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(-)




More information about the openwrt-devel mailing list