Skip to contentSkip to conversation

Cannot compile connlimit: structure has no member named `proto'

DISCUSSION Stephane Bortzmeyer 1 participant 1 message May 11, 2006

lore
Share & tools
lore
#0 lore raw

I just patched (with Patch-o-Matic) a 2.6.9 kernel with the connlimit patch (foudn in patchlets/ in the Subversion repository). Patching was successful but compilation is not:

CC [M] net/ipv4/netfilter/ipt_connlimit.o
net/ipv4/netfilter/ipt_connlimit.c: In function `count_them':
net/ipv4/netfilter/ipt_connlimit.c:68: error: structure has no member named proto' net/ipv4/netfilter/ipt_connlimit.c:94: error: structure has no member named infos' net/ipv4/netfilter/ipt_connlimit.c:101: error: structure has no member named `infos' make[3]: *** [net/ipv4/netfilter/ipt_connlimit.o] Error 1
make[2]: *** [net/ipv4/netfilter] Error 2
make[1]: *** [net/ipv4] Error 2
make: *** [net] Error 2

Does it mean that I should patch the Netfilter which is in the kernel as well?