From: Mattia Dongili <malattia@gmail.com>
To: Patrick McHardy <kaber@trash.net>
Cc: Harald Welte <laforge@netfilter.org>,
Netfilter Development Mailinglist
<netfilter-devel@lists.netfilter.org>,
Linux Kernel Mailing List <linux-kernel@vger.kernel.org>
Subject: Re: BUG: atomic counter underflow at ip_conntrack_event_cache_init+0x91/0xb0 (with patch)
Date: Tue, 2 Aug 2005 15:29:22 +0200 [thread overview]
Message-ID: <20050802132922.GA3834@inferi.kami.home> (raw)
In-Reply-To: <42EEC2BB.3020105@trash.net>
On Tue, Aug 02, 2005 at 02:47:55AM +0200, Patrick McHardy wrote:
> Patrick McHardy wrote:
> > Mattia Dongili wrote:
[...]
> This should be a fist step towards fixing it. It's probably incomplete
> (I'm too tired to check it now), but it should fix the problem you're
> seeing. Could you give it a spin?
Done, also this patch fixes the uderflow problem.
> BTW, ip_ct_iterate_cleanup can only be called from ipt_MASQUERADE when
> a device goes down. It seems a bit odd that this is happending on boot,
> is there anything special about your setup?
So I played a little more with the BUGgy kernel and I traked some simple
actions to trigger the underflow:
0- boot at init 1
1- modprobe ipt_MASQUERADE
Netfilter messages via NETLINK v0.30.
ip_conntrack version 2.3 (2044 buckets, 16352 max) - 252 bytes per conntrack
ip_tables: (C) 2000-2002 Netfilter core team
2- ifup eth0
e100: eth0: e100_watchdog: link up, 10Mbps, half-duplex
BUG: atomic counter underflow at:
[<d0c6738a>] ip_ct_iterate_cleanup+0xfa/0x100 [ip_conntrack]
[<d0c441d3>] masq_inet_event+0x33/0x40 [ipt_MASQUERADE]
[<d0c441e0>] device_cmp+0x0/0x40 [ipt_MASQUERADE]
[<c012733d>] notifier_call_chain+0x2d/0x50
[<c02bea43>] inet_del_ifa+0x93/0x1d0
[<c02bf6af>] devinet_ioctl+0x4af/0x5a0
[<c02c1946>] inet_ioctl+0x66/0xb0
[<c0278be9>] sock_ioctl+0xc9/0x230
[<c016df2e>] do_ioctl+0x8e/0xa0
[<c02d5e08>] do_page_fault+0x188/0x613
[<c016e0f5>] vfs_ioctl+0x65/0x1f0
[<c016e2c5>] sys_ioctl+0x45/0x70
[<c0103185>] syscall_call+0x7/0xb
3- ifdown eth0 && ifup eth0
e100: eth0: e100_watchdog: link up, 10Mbps, half-duplex
BUG: atomic counter underflow at:
[<d0c6738a>] ip_ct_iterate_cleanup+0xfa/0x100 [ip_conntrack]
[<d0c441d3>] masq_inet_event+0x33/0x40 [ipt_MASQUERADE]
[<d0c441e0>] device_cmp+0x0/0x40 [ipt_MASQUERADE]
[<c012733d>] notifier_call_chain+0x2d/0x50
[<c02bea43>] inet_del_ifa+0x93/0x1d0
[<c02bf6af>] devinet_ioctl+0x4af/0x5a0
[<c02c1946>] inet_ioctl+0x66/0xb0
[<c0278be9>] sock_ioctl+0xc9/0x230
[<c016df2e>] do_ioctl+0x8e/0xa0
[<c02d5e08>] do_page_fault+0x188/0x613
[<c016e0f5>] vfs_ioctl+0x65/0x1f0
[<c016e2c5>] sys_ioctl+0x45/0x70
[<c0103185>] syscall_call+0x7/0xb
and that's all. So iflugd has not any influence here.
--
mattia
:wq!
next prev parent reply other threads:[~2005-08-02 13:29 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-08-01 14:13 Mattia Dongili
2005-08-01 14:27 ` Patrick McHardy
2005-08-01 16:05 ` Mattia Dongili
2005-08-01 17:08 ` Patrick McHardy
2005-08-02 0:47 ` Patrick McHardy
2005-08-02 10:44 ` Mattia Dongili
2005-08-02 13:29 ` Mattia Dongili [this message]
2005-08-03 18:34 ` Patrick McHardy
2005-08-05 9:06 ` David S. Miller
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20050802132922.GA3834@inferi.kami.home \
--to=malattia@gmail.com \
--cc=kaber@trash.net \
--cc=laforge@netfilter.org \
--cc=linux-kernel@vger.kernel.org \
--cc=netfilter-devel@lists.netfilter.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®