From: "Nishit Shah" <nishit@elitecore.com>
To: <netfilter-devel@lists.netfilter.org>
Subject: rmmod ip_conntrack hangs.....
Date: Wed, 25 Apr 2007 12:30:09 +0530 [thread overview]
Message-ID: <075601c78707$5d19c800$4c01a8c0@elitecore26> (raw)
Hi,
when I do rmmod ip_conntrack, rmmod hangs. It is not the case
everytime but sometimes "rmmod ip_conntrack" hangs.
After that I have tried to debug the problem and got following
observations..
1.) in net/ipv4/netfilter/ip_conntrack_core.c, following code of
function ip_conntrack_cleanup is stuck in infinite loop...
i_see_dead_people:
ip_conntrack_flush();
if (atomic_read(&ip_conntrack_count) != 0) {
schedule();
goto i_see_dead_people;
}
2.) after that i have added printk in while loop
i_see_dead_people:
ip_conntrack_flush();
if (atomic_read(&ip_conntrack_count) != 0) {
schedule();
if (net_ratelimit())
printk(KERN_ERR "conntrack count is<%d>\n",
atomic_read(&ip_conntrack_count));
goto i_see_dead_people;
}
And each and every time I got count value as 1.
Also at this point, "cat /proc/slabinfo | grep conntrack" lists 1
entry allocated from slab.
Regards,
Nishit Shah.
next reply other threads:[~2007-04-25 7:00 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-04-25 7:00 Nishit Shah [this message]
2007-04-25 14:18 ` rmmod ip_conntrack hangs Phil Oester
2007-04-26 5:45 ` Nishit Shah
2007-04-26 11:05 ` Yasuyuki KOZAKAI
[not found] ` <200704261105.l3QB59NB010836@toshiba.co.jp>
2007-04-26 12:16 ` Nishit Shah
2007-04-26 16:17 ` Patrick McHardy
2007-04-27 5:56 ` Nishit Shah
[not found] ` <048501c80812$0d372350$4c01a8c0@elitecore.com>
2007-10-08 4:30 ` Patrick McHardy
2007-10-10 19:15 ` nishit
2007-10-11 5:16 ` Patrick McHardy
2007-10-12 15:02 ` Nishit Shah
-- strict thread matches above, loose matches on Subject: below --
2007-10-23 12:30 Nishit Shah
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='075601c78707$5d19c800$4c01a8c0@elitecore26' \
--to=nishit@elitecore.com \
--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;
as well as URLs for NNTP newsgroup(s).