[PATCH 0/7] netfilter: kconfig symbol updates

Yousong Zhou yszhou4tech at gmail.com
Tue Oct 13 08:30:40 EDT 2020


The series was based work by Tony Ambardar in GitHub pull request [1].
Many investigations were done by Tony. And many changes were done by me
and all errors are mine of course.

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

The work foucused 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
   with prompt ones, instead of the old tristate ones.  Version
   conditionals are added for old kernel versions.  And make them unset
   state as these options can only be enabled when selected by others

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

Yousong Zhou (6):
  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 nf_nat_redirect mod
  netfilter.mk: add version conditional around CONFIG_NF_NAT_PROTO_GRE

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




More information about the openwrt-devel mailing list