On Mon, 4 Aug 2008, Al Viro wrote:Solves partially: no more WARNING, however entries are still=20 missing & duplicated: # sysctl -a 2>/dev/null|grep net.netfilter net.netfilter.nf_conntrack_generic_timeout =3D 600 net.netfilter.nf_conntrack_acct =3D 1 net.netfilter.nf_conntrack_generic_timeout =3D 600 net.netfilter.nf_conntrack_acct =3D 1 Plus, without nf_conntrack module loaded I get empty=20 /proc/sys/net/netfilter/, but this is probably expected. --- a/net/netfilter/core.c 2008-07-13 23:51:29.000000000 +0200 +++ b/net/netfilter/core.c 2008-08-04 22:56:42.000000000 +0200 @@ -26,6 +26,10 @@ static DEFINE_MUTEX(afinfo_mutex); +#ifdef CONFIG_SYSCTL + static struct ctl_table empty[1]; +#endif + const struct nf_afinfo *nf_afinfo[NPROTO] __read_mostly; EXPORT_SYMBOL(nf_afinfo); @@ -275,6 +279,10 @@ panic("cannot create netfilter proc entry"); #endif +#ifdef CONFIG_SYSCTL + register_sysctl_paths(nf_net_netfilter_sysctl_path, empty); +#endif + if (netfilter_queue_init() < 0) panic("cannot initialize nf_queue"); if (netfilter_log_init() < 0) Best regards, =09=09=09=09Krzysztof Ol=EAdzki
| Mark Lord | 2.6.25-rc8: FTP transfer errors |
| Andrew Morton | echo mem > /sys/power/state |
| david | Re: Dual-Licensing Linux Kernel with GPL V2 and GPL V3 |
| Greg Kroah-Hartman | [PATCH 001/196] Chinese: Add the known_regression URI to the HOWTO |
git: | |
| Gerrit Renker | [PATCH 27/37] dccp: Integration of dynamic feature activation - part 2 (server side) |
| Jarek Poplawski | [PATCH] pkt_sched: Destroy gen estimators under rtnl_lock(). |
| David Miller | [GIT]: Networking |
| Dushan Tcholich | Re: ksoftirqd high cpu load on kernels 2.6.24 to 2.6.27-rc1-mm1 |
