Skip to contentSkip to conversation

meta-openstack: linux-yocto: Remove non-existing kernel options

PATCH In review [email protected] 2 participants 2 messages Oct 12, 2019 – Oct 13, 2019

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 meta-openstack: linux-yocto: Remove non-existing kernel options

From: He Zhe <[email protected]>

The following kernel options have been removed from kernel.

CONFIG_NF_NAT_PROTO_SCTP removed by
faec18dbb0405 ("netfilter: nat: remove l4proto->manip_pkt")

CONFIG_NF_NAT_IPV4 removed by
3bf195ae6037e ("netfilter: nat: merge nf_nat_ipv4,6 into nat core")

CONFIG_NF_CONNTRACK_PROC_COMPAT removed by
adf0516845bc ("netfilter: remove ip_conntrack* sysctl compat code")

CONFIG_NF_NAT_NEEDED removed by
4806e975729f ("netfilter: replace NF_NAT_NEEDED with IS_ENABLED(CONFIG_NF_NAT)")

---
 meta-openstack/recipes-kernel/linux/linux-yocto/iptables-nat.cfg | 3 ---
 meta-openstack/recipes-kernel/linux/linux-yocto/nf.cfg           | 4 ----
 2 files changed, 7 deletions(-)
meta-openstack/recipes-kernel/linux/linux-yocto/iptables-nat.cfg +0 -3
index 6e1cff7..91b8209 100644
@@ -1,7 +1,5 @@
 CONFIG_NF_NAT=m
-CONFIG_NF_NAT_NEEDED=y
 CONFIG_NF_NAT_PROTO_UDPLITE=m
-CONFIG_NF_NAT_PROTO_SCTP=m
 CONFIG_NF_NAT_AMANDA=m
 CONFIG_NF_NAT_FTP=m
 CONFIG_NF_NAT_IRC=m
@@ -12,7 +10,6 @@ CONFIG_NETFILTER_XT_TARGET_NETMAP=m
 
 CONFIG_NETFILTER_XT_TARGET_REDIRECT=m
 
-CONFIG_NF_NAT_IPV4=m
 CONFIG_IP_NF_TARGET_MASQUERADE=m
 CONFIG_IP_NF_TARGET_NETMAP=m
 CONFIG_IP_NF_TARGET_REDIRECT=m
meta-openstack/recipes-kernel/linux/linux-yocto/nf.cfg +0 -4
index 676a091..5821a43 100644
@@ -1,7 +1,3 @@
 CONFIG_NF_CONNTRACK=y
 CONFIG_NF_NAT=m
-CONFIG_NF_NAT_NEEDED=y
-CONFIG_NF_NAT_PROTO_SCTP=m
-CONFIG_NF_CONNTRACK_PROC_COMPAT=y
-CONFIG_NF_NAT_IPV4=m
 CONFIG_IP_NF_NAT=m
Signature · 1 line
2.7.4
#1 lore raw

merged

Bruce

Quoted 58 lines · On Sat, Oct 12, 2019 at 5:05 AM <[email protected]> wrote:

From: He Zhe <[email protected]>

The following kernel options have been removed from kernel.

CONFIG_NF_NAT_PROTO_SCTP removed by
faec18dbb0405 ("netfilter: nat: remove l4proto->manip_pkt")

CONFIG_NF_NAT_IPV4 removed by
3bf195ae6037e ("netfilter: nat: merge nf_nat_ipv4,6 into nat core")

CONFIG_NF_CONNTRACK_PROC_COMPAT removed by
adf0516845bc ("netfilter: remove ip_conntrack* sysctl compat code")

CONFIG_NF_NAT_NEEDED removed by
4806e975729f ("netfilter: replace NF_NAT_NEEDED with IS_ENABLED(CONFIG_NF_NAT)")

---
 meta-openstack/recipes-kernel/linux/linux-yocto/iptables-nat.cfg | 3 ---
 meta-openstack/recipes-kernel/linux/linux-yocto/nf.cfg           | 4 ----
 2 files changed, 7 deletions(-)
meta-openstack/recipes-kernel/linux/linux-yocto/iptables-nat.cfg +0 -3
index 6e1cff7..91b8209 100644
@@ -1,7 +1,5 @@
 CONFIG_NF_NAT=m
-CONFIG_NF_NAT_NEEDED=y
 CONFIG_NF_NAT_PROTO_UDPLITE=m
-CONFIG_NF_NAT_PROTO_SCTP=m
 CONFIG_NF_NAT_AMANDA=m
 CONFIG_NF_NAT_FTP=m
 CONFIG_NF_NAT_IRC=m
@@ -12,7 +10,6 @@ CONFIG_NETFILTER_XT_TARGET_NETMAP=m
 
 CONFIG_NETFILTER_XT_TARGET_REDIRECT=m
 
-CONFIG_NF_NAT_IPV4=m
 CONFIG_IP_NF_TARGET_MASQUERADE=m
 CONFIG_IP_NF_TARGET_NETMAP=m
 CONFIG_IP_NF_TARGET_REDIRECT=m
meta-openstack/recipes-kernel/linux/linux-yocto/nf.cfg +0 -5
index 676a091..5821a43 100644
@@ -1,7 +1,3 @@
 CONFIG_NF_CONNTRACK=y
 CONFIG_NF_NAT=m
-CONFIG_NF_NAT_NEEDED=y
-CONFIG_NF_NAT_PROTO_SCTP=m
-CONFIG_NF_CONNTRACK_PROC_COMPAT=y
-CONFIG_NF_NAT_IPV4=m
 CONFIG_IP_NF_NAT=m
--

2.7.4

Signature · 3 lines
- Thou shalt not follow the NULL pointer, for chaos and madness await
thee at its end
- "Use the force Harry" - Gandalf, Star Trek II