Commit 10a03a42 authored by Patrick McHardy's avatar Patrick McHardy Committed by David S. Miller

netfilter: netns: use NFPROTO_NUMPROTO instead of NUMPROTO for tables array

The netfilter families have been decoupled from regular protocol families.
Signed-off-by: default avatarPatrick McHardy <kaber@trash.net>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 041fb574
...@@ -2,9 +2,9 @@ ...@@ -2,9 +2,9 @@
#define __NETNS_X_TABLES_H #define __NETNS_X_TABLES_H
#include <linux/list.h> #include <linux/list.h>
#include <linux/net.h> #include <linux/netfilter.h>
struct netns_xt { struct netns_xt {
struct list_head tables[NPROTO]; struct list_head tables[NFPROTO_NUMPROTO];
}; };
#endif #endif
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment