diff mbox

netfilter: nf_tables: remove the duplicate NF_INET_LOCAL_OUT

Message ID 1372406246-13739-1-git-send-email-xiaosuo@gmail.com
State Accepted
Headers show

Commit Message

Changli Gao June 28, 2013, 7:57 a.m. UTC
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(-)

Comments

Pablo Neira Ayuso June 29, 2013, 10:10 a.m. UTC | #1
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
diff mbox

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,