On Mon, 4 Aug 2008, Krzysztof Oledzki wrote:
quoted text >
>
> On Sun, 3 Aug 2008, Krzysztof Oledzki wrote:
>
>>=20
>>=20
>> On Sun, 3 Aug 2008, Arjan van de Ven wrote:
>>=20
>>> The warning below started showing up on kerneloops.org in the top 20 an=
d=20
quoted text >>> it appears to
>>> be new in 2.6.27-rc (e.g. a regression)...
>>>=20
>>> It happens when nf_conntrack is rmmod'd
>>>=20
>>>=20
>>> The reports:
>>>
http://www.kerneloops.org/search.php?search=3Dnf_conntrack_acct_fini
>>>=20
>>> The warning:
>>>=20
>>> WARNING: at kernel/sysctl.c:1966 unregister_sysctl_table+0xcc/0x103()
>>>=20
>>> Modules : nf_conntrack(-)
>>>=20
>>> Call Trace:
>>> [<ffffffff81043bc8>] warn_on_slowpath+0x65/0x98
>>> [<ffffffff8104abdf>] unregister_sysctl_table+0xcc/0x103
>>> [<ffffffffa0306655>] nf_conntrack_acct_fini+0x15/0x23 [nf_conntrack]
>>> [<ffffffffa03018a1>] nf_conntrack_cleanup+0x84/0x86 [nf_conntrack]
>>> [<ffffffffa0306944>] nf_conntrack_standalone_fini+0x40/0x42 [nf_conntra=
ck]
quoted text >>> [<ffffffff810700d0>] sys_delete_module+0x202/0x263
>>> [<ffffffff8101034a>] system_call_fastpath+0x16/0x1b
>>=20
>> Thanks. It seems I'm the person who introduced it. I'll look at it ASAP.
>
> Probably spoken too fast. This problem was introduced in 2.6.26-git15, ab=
out=20
quoted text > one week after my accounting rework had been included. Obviously there is=
=20
quoted text > something wrong with netfilter sysctl handling as starting with this kern=
el=20
quoted text > version sysctl reports duplicated net.netfilter:
>
> # find /proc/sys/net/|grep net/netf
> /proc/sys/net/netfilter
> /proc/sys/net/netfilter/nf_conntrack_generic_timeout
> /proc/sys/net/netfilter/nf_conntrack_acct
> /proc/sys/net/netfilter
> /proc/sys/net/netfilter/nf_conntrack_generic_timeout
> /proc/sys/net/netfilter/nf_conntrack_acct
>
> # sysctl -a|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
>
> Still investigating.
BTW: It also happens when I revert my patch:
sysctl -a|grep net.netfilter
net.netfilter.nf_conntrack_generic_timeout =3D 600
net.netfilter.nf_conntrack_generic_timeout =3D 600
Best regards,
=09=09=09=09Krzysztof Ol=EAdzki