kernel: backport netfilter NAT offload support to 4.14
[openwrt/openwrt.git] / target / linux / generic / backport-4.14 / 356-netfilter-nf_flow_table-relax-mixed-ipv4-ipv6-flowta.patch
1 From: Felix Fietkau <nbd@nbd.name>
2 Date: Sat, 17 Feb 2018 12:02:28 +0100
3 Subject: [PATCH] netfilter: nf_flow_table: relax mixed ipv4/ipv6 flowtable
4 dependencies
5
6 Since the offload hook code was moved, this table no longer depends on
7 the IPv4 and IPv6 flowtable modules
8
9 Signed-off-by: Felix Fietkau <nbd@nbd.name>
10 ---
11
12 --- a/net/netfilter/Kconfig
13 +++ b/net/netfilter/Kconfig
14 @@ -670,8 +670,7 @@ endif # NF_TABLES
15
16 config NF_FLOW_TABLE_INET
17 tristate "Netfilter flow table mixed IPv4/IPv6 module"
18 - depends on NF_FLOW_TABLE_IPV4
19 - depends on NF_FLOW_TABLE_IPV6
20 + depends on NF_FLOW_TABLE
21 help
22 This option adds the flow table mixed IPv4/IPv6 support.
23