summaryrefslogtreecommitdiffstats
path: root/include/net
diff options
context:
space:
mode:
authorPatrick McHardy <kaber@trash.net>2008-10-20 03:31:54 -0700
committerDavid S. Miller <davem@davemloft.net>2008-10-20 03:31:54 -0700
commit10a03a42d140a029bcba531df2897839f3569871 (patch)
treec404d9e491379e21e9930375c3197746ee5bf1de /include/net
parent041fb574c75a570a0796acd3ed83e4ce0ea920f4 (diff)
downloadop-kernel-dev-10a03a42d140a029bcba531df2897839f3569871.zip
op-kernel-dev-10a03a42d140a029bcba531df2897839f3569871.tar.gz
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 <kaber@trash.net> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/net')
-rw-r--r--include/net/netns/x_tables.h4
1 files changed, 2 insertions, 2 deletions
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
OpenPOWER on IntegriCloud