From mboxrd@z Thu Jan 1 00:00:00 1970 From: Patrick McHardy Subject: netfilter 02/07: netns: use NFPROTO_NUMPROTO instead of NUMPROTO for tables array Date: Mon, 20 Oct 2008 11:54:11 +0200 (MEST) Message-ID: <20081020095411.25670.22073.sendpatchset@x2.localnet> References: <20081020095408.25670.37455.sendpatchset@x2.localnet> Cc: netdev@vger.kernel.org, Patrick McHardy , netfilter-devel@vger.kernel.org To: davem@davemloft.net Return-path: Received: from stinky.trash.net ([213.144.137.162]:52351 "EHLO stinky.trash.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751453AbYJTJyM (ORCPT ); Mon, 20 Oct 2008 05:54:12 -0400 In-Reply-To: <20081020095408.25670.37455.sendpatchset@x2.localnet> Sender: netdev-owner@vger.kernel.org List-ID: commit 40ebc9cf6a56fef77d064b901e896207d7110db3 Author: Patrick McHardy Date: Sat Oct 18 15:20:56 2008 +0200 netfilter: netns: use NFPROTO_NUMPROTO instead of NUMPROTO for tables array The netfilter families have been decoupled from regular protocol families. Signed-off-by: Patrick McHardy diff --git a/include/net/netns/x_tables.h b/include/net/netns/x_tables.h index 0cb63ed..b809397 100644 --- a/include/net/netns/x_tables.h +++ b/include/net/netns/x_tables.h @@ -2,9 +2,9 @@ #define __NETNS_X_TABLES_H #include -#include +#include struct netns_xt { - struct list_head tables[NPROTO]; + struct list_head tables[NFPROTO_NUMPROTO]; }; #endif