netfilter-devel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* rmmod ip_conntrack hangs.....
@ 2007-04-25  7:00 Nishit Shah
  2007-04-25 14:18 ` Phil Oester
                   ` (2 more replies)
  0 siblings, 3 replies; 12+ messages in thread
From: Nishit Shah @ 2007-04-25  7:00 UTC (permalink / raw)
  To: netfilter-devel

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.

^ permalink raw reply	[flat|nested] 12+ messages in thread
* Re: rmmod ip_conntrack hangs.....
@ 2007-10-23 12:30 Nishit Shah
  0 siblings, 0 replies; 12+ messages in thread
From: Nishit Shah @ 2007-10-23 12:30 UTC (permalink / raw)
  To: Nishit Shah, Patrick McHardy; +Cc: Netfilter Development Mailinglist

Have you receievd the proper attachment ?

Rgds,
Nishit Shah.

----- Original Message ----- 
From: "Nishit Shah" <nishit@elitecore.com>
To: "Patrick McHardy" <kaber@trash.net>
Cc: "Yasuyuki KOZAKAI" <yasuyuki.kozakai@toshiba.co.jp>; "Netfilter
Development Mailinglist" <netfilter-devel@vger.kernel.org>
Sent: Friday, October 12, 2007 8:32 PM
Subject: Re: rmmod ip_conntrack hangs.....


> Sorry for that !!!!!
>                                     I am adding the attachment !!!!
>
> Rgds,
> Nishit Shah.
>
> ----- Original Message ----- 
> From: "Patrick McHardy" <kaber@trash.net>
> To: <nishit@elitecore.com>
> Cc: "Yasuyuki KOZAKAI" <yasuyuki.kozakai@toshiba.co.jp>; "Netfilter
> Development Mailinglist" <netfilter-devel@vger.kernel.org>
> Sent: Thursday, October 11, 2007 10:46 AM
> Subject: Re: rmmod ip_conntrack hangs.....
>
>
> > nishit@elitecore.com wrote:
> > > Hi,
> > >          I am adding the patch that patrick had submitted.
> >
> >
> > The patch doesn't apply because your mailer replaced tabs by spaces.
> > Please resend as attachment, thanks.
> >
>


^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2007-10-23 12:31 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-04-25  7:00 rmmod ip_conntrack hangs Nishit Shah
2007-04-25 14:18 ` 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

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).