Commit:     3fd8f9e4b6c184d03d340bc86630f700de967fa8
Parent:     ebd61cc042b16e6cf2486aafbfff9e4be8c213ee
Author:     Cornelia Huck <[EMAIL PROTECTED]>
AuthorDate: Wed Jul 18 02:38:32 2007 -0700
Committer:  David S. Miller <[EMAIL PROTECTED]>
CommitDate: Wed Jul 18 02:38:32 2007 -0700

    [NETFILTER]: xt_connlimit needs to depend on nf_conntrack
    following errors on current git:
      CC [M]  net/netfilter/xt_connlimit.o
      In file included from net/netfilter/xt_connlimit.c:27:
      include/net/netfilter/nf_conntrack.h:100: error: field 'ct_general' has 
incomplete type
      include/net/netfilter/nf_conntrack.h: In function 'nf_ct_get':
      include/net/netfilter/nf_conntrack.h:164: error: 'const struct sk_buff' 
has no member named 'nfct'
      include/net/netfilter/nf_conntrack.h: In function 'nf_ct_put':
      include/net/netfilter/nf_conntrack.h:171: warning: implicit declaration 
of function 'nf_conntrack_put'
      include/net/netfilter/nf_conntrack.h: In function 'nf_ct_is_untracked':
      include/net/netfilter/nf_conntrack.h:253: error: 'const struct sk_buff' 
has no member named 'nfct'
      In file included from net/netfilter/xt_connlimit.c:28:
      include/net/netfilter/nf_conntrack_core.h: In function 
      include/net/netfilter/nf_conntrack_core.h:68: error: 'struct sk_buff' has 
no member named 'nfct'
    Adding a dependency in Kconfig fixes this.
    Signed-off-by: Cornelia Huck <[EMAIL PROTECTED]>
    Signed-off-by: David S. Miller <[EMAIL PROTECTED]>
 net/netfilter/Kconfig |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/net/netfilter/Kconfig b/net/netfilter/Kconfig
index 3ac39f1..3599770 100644
--- a/net/netfilter/Kconfig
+++ b/net/netfilter/Kconfig
@@ -436,6 +436,7 @@ config NETFILTER_XT_MATCH_CONNBYTES
        tristate '"connlimit" match support"'
        depends on NETFILTER_XTABLES
+       depends on NF_CONNTRACK
          This match allows you to match against the number of parallel
          connections to a server per client IP address (or address block).
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at

Reply via email to