Subject: netfilter 02/07: netns: use NFPROTO_NUMPROTO instead of NUMPROTO for tables array

From: Patrick McHardy <[email-masked]>
Date: Mon, 20 Oct 2008 11:54:11 +0200 (MEST)

commit 40ebc9cf6a56fef77d064b901e896207d7110db3
Author: Patrick McHardy <[email-masked]>
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 <[email-masked]>

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 <linux/list.h>
-#include <linux/net.h>
+#include <linux/netfilter.h>
 
 struct netns_xt {
-	struct list_head tables[NPROTO];
+	struct list_head tables[NFPROTO_NUMPROTO];
 };
 #endif