This patch adds a sysctl to read out the number of current connections. ip_conntrack_count is an atomic_t, but it is read out by proc_dointvec. I have checked all arches, all use an int, but I'm not sure if it works on all of them. ChangeSet@1.1935.1.2, 2004-09-18 23:27:31+02:00, laforge@netfilter.org [NETFILTER]: add sysctl to read out the number of current connections Apparently a lot of scripts use a construct like "cat /proc/net/ip_conntrack | wc -l" which has a negative impact on system performance due to all the locking required. Signed-off-by: Harald Welte Signed-off-by: Patrick McHardy