netfilter: nf_conntrack: extend with extra stat counter
authorJesper Dangaard Brouer <hawk@comx.dk>
Fri, 23 Apr 2010 10:34:56 +0000 (12:34 +0200)
committerPatrick McHardy <kaber@trash.net>
Fri, 23 Apr 2010 10:34:56 +0000 (12:34 +0200)
commitaf740b2c8f4521e2c45698ee6040941a82d6349d
treeae9fb87ebbfd422b07cb8e027fbe13e9c40c403e
parentcecc74de25d2cfb08e7702cd38e3f195950f1228
netfilter: nf_conntrack: extend with extra stat counter

I suspect an unfortunatly series of events occuring under a DDoS
attack, in function __nf_conntrack_find() nf_contrack_core.c.

Adding a stats counter to see if the search is restarted too often.

Signed-off-by: Jesper Dangaard Brouer <hawk@comx.dk>
Signed-off-by: Patrick McHardy <kaber@trash.net>
include/linux/netfilter/nf_conntrack_common.h
net/ipv4/netfilter/nf_conntrack_l3proto_ipv4_compat.c
net/netfilter/nf_conntrack_core.c
net/netfilter/nf_conntrack_standalone.c