Skip to contentSkip to conversation

netfilter: nf_tables: remove the duplicate NF_INET_LOCAL_OUT

PATCH In review Changli Gao 2 participants 2 messages Jun 28, 2013 – Jun 29, 2013

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 netfilter: nf_tables: remove the duplicate NF_INET_LOCAL_OUT

The line for NF_INET_LOCAL_OUT is duplicated by mistake, so just remove it.

---
 net/ipv4/netfilter/nf_tables_ipv4.c |    1 -
 1 file changed, 1 deletion(-)
net/ipv4/netfilter/nf_tables_ipv4.c +0 -1
index ab6b407..5dfb2ae 100644
@@ -100,7 +100,6 @@ static struct nf_chain_type filter_ipv4 = {
 	.fn		= {
 		[NF_INET_LOCAL_IN]	= nft_do_chain_ipv4,
 		[NF_INET_LOCAL_OUT]	= nft_do_chain_ipv4,
-		[NF_INET_LOCAL_OUT]	= nft_do_chain_ipv4,
 		[NF_INET_FORWARD]	= nft_do_chain_ipv4,
 		[NF_INET_PRE_ROUTING]	= nft_do_chain_ipv4,
 		[NF_INET_POST_ROUTING]	= nft_do_chain_ipv4,
Signature · 1 line
1.7.9.5
#1 lore raw
Quoted 1 line · Changli Gao

The line for NF_INET_LOCAL_OUT is duplicated by mistake, so just remove it.

Alexander Primak already sent me a patch for this a week ago.

I have applied that one.

Thanks anyway Gao.