Patchwork netfilter: nf_tables: remove the duplicate NF_INET_LOCAL_OUT

login
register
mail settings
Submitter Changli Gao
Date June 28, 2013, 7:57 a.m.
Message ID <1372406246-13739-1-git-send-email-xiaosuo@gmail.com>
Download mbox | patch
Permalink /patch/255293/
State Accepted
Headers show

Comments

Changli Gao - June 28, 2013, 7:57 a.m.
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(-)
Pablo Neira - June 29, 2013, 10:10 a.m.
On Fri, Jun 28, 2013 at 03:57:26AM -0400, Changli Gao wrote:
> 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.
--
To unsubscribe from this list: send the line "unsubscribe netfilter-devel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Patch

diff --git a/net/ipv4/netfilter/nf_tables_ipv4.c b/net/ipv4/netfilter/nf_tables_ipv4.c
index ab6b407..5dfb2ae 100644
--- a/net/ipv4/netfilter/nf_tables_ipv4.c
+++ b/net/ipv4/netfilter/nf_tables_ipv4.c
@@ -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,