kernel: mark source kernel for netfilter backports
[openwrt/openwrt.git] / target / linux / generic / backport-4.14 / 311-v4.16-netfilter-nf_tables_arp-don-t-set-forward-chain.patch
1 From: Pablo Neira Ayuso <pablo@netfilter.org>
2 Date: Sun, 10 Dec 2017 01:42:58 +0100
3 Subject: [PATCH] netfilter: nf_tables_arp: don't set forward chain
4
5 46928a0b49f3 ("netfilter: nf_tables: remove multihook chains and
6 families") already removed this, this is a leftover.
7
8 Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
9 ---
10
11 --- a/net/ipv4/netfilter/nf_tables_arp.c
12 +++ b/net/ipv4/netfilter/nf_tables_arp.c
13 @@ -34,7 +34,6 @@ static struct nft_af_info nft_af_arp __r
14 .hooks = {
15 [NF_ARP_IN] = nft_do_chain_arp,
16 [NF_ARP_OUT] = nft_do_chain_arp,
17 - [NF_ARP_FORWARD] = nft_do_chain_arp,
18 },
19 };
20