netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* netfilter: nf_conntrack_ipv4 does not show nf_nat as a user
@ 2007-11-05 20:10 Chuck Ebbert
  2007-11-06  0:12 ` Patrick McHardy
  0 siblings, 1 reply; 4+ messages in thread
From: Chuck Ebbert @ 2007-11-05 20:10 UTC (permalink / raw)
  To: Netdev

https://bugzilla.redhat.com/show_bug.cgi?id=333481#c3

This is netfilter kernel problem. There is a usage count for the conntrack_ipv4
module from the nf_nat module, which is not reported by lsmod.

How to reproduce:
# modprobe nf_conntrack_ipv4
# lsmod | grep nf_conntrack_ipv4
nf_conntrack_ipv4      11717  0 
nf_conntrack           51977  2 nf_conntrack_ipv4,nf_conntrack_ipv6
nfnetlink               8281  3 nf_conntrack_ipv4,nf_conntrack_ipv6,nf_conntrack
# modprobe nf_nat
# lsmod | grep nf_conntrack_ipv4
nf_conntrack_ipv4      11717  1 
nf_conntrack           51977  3 nf_nat,nf_conntrack_ipv4,nf_conntrack_ipv6
nfnetlink               8281  4 nf_nat,nf_conntrack_ipv4,nf_conntrack_ipv6,nf_co
nntrack
# lsmod | grep nf_nat
nf_nat                 18669  0 
nf_conntrack           51977  3 nf_nat,nf_conntrack_ipv4,nf_conntrack_ipv6
nfnetlink               8281  4 nf_nat,nf_conntrack_ipv4,nf_conntrack_ipv6,nf_co
nntrack
# rmmod nf_conntrack_ipv4
ERROR: Module nf_conntrack_ipv4 is in use
# rmmod nf_nat
# rmmod nf_conntrack_ipv4

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

* Re: netfilter: nf_conntrack_ipv4 does not show nf_nat as a user
  2007-11-05 20:10 netfilter: nf_conntrack_ipv4 does not show nf_nat as a user Chuck Ebbert
@ 2007-11-06  0:12 ` Patrick McHardy
  2007-11-06 19:29   ` Chuck Ebbert
  0 siblings, 1 reply; 4+ messages in thread
From: Patrick McHardy @ 2007-11-06  0:12 UTC (permalink / raw)
  To: Chuck Ebbert; +Cc: Netdev

Chuck Ebbert wrote:
> https://bugzilla.redhat.com/show_bug.cgi?id=333481#c3
>
> This is netfilter kernel problem. There is a usage count for the conntrack_ipv4
> module from the nf_nat module, which is not reported by lsmod.
>   

This is "fixed" in the current kernel.

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

* Re: netfilter: nf_conntrack_ipv4 does not show nf_nat as a user
  2007-11-06  0:12 ` Patrick McHardy
@ 2007-11-06 19:29   ` Chuck Ebbert
  2007-11-06 23:51     ` Patrick McHardy
  0 siblings, 1 reply; 4+ messages in thread
From: Chuck Ebbert @ 2007-11-06 19:29 UTC (permalink / raw)
  To: Patrick McHardy; +Cc: Netdev

On 11/05/2007 07:12 PM, Patrick McHardy wrote:
> Chuck Ebbert wrote:
>> https://bugzilla.redhat.com/show_bug.cgi?id=333481#c3
>>
>> This is netfilter kernel problem. There is a usage count for the
>> conntrack_ipv4
>> module from the nf_nat module, which is not reported by lsmod.
>>   
> 
> This is "fixed" in the current kernel.

By this hack?

[NETFILTER]: Fix/improve deadlock condition on module removal netfilter


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

* Re: netfilter: nf_conntrack_ipv4 does not show nf_nat as a user
  2007-11-06 19:29   ` Chuck Ebbert
@ 2007-11-06 23:51     ` Patrick McHardy
  0 siblings, 0 replies; 4+ messages in thread
From: Patrick McHardy @ 2007-11-06 23:51 UTC (permalink / raw)
  To: Chuck Ebbert; +Cc: Netdev

Chuck Ebbert wrote:
> On 11/05/2007 07:12 PM, Patrick McHardy wrote:
>> Chuck Ebbert wrote:
>>> https://bugzilla.redhat.com/show_bug.cgi?id=333481#c3
>>>
>>> This is netfilter kernel problem. There is a usage count for the
>>> conntrack_ipv4
>>> module from the nf_nat module, which is not reported by lsmod.
>>>   
>> This is "fixed" in the current kernel.
> 
> By this hack?
> 
> [NETFILTER]: Fix/improve deadlock condition on module removal netfilter

Thats not really a hack, the patch is fully correct, the bug was in
modutils.

The patch I'm talking about is 591e6206:

[NETFILTER]: nf_nat: add symbolic dependency on IPv4 conntrack

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

end of thread, other threads:[~2007-11-06 23:51 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-11-05 20:10 netfilter: nf_conntrack_ipv4 does not show nf_nat as a user Chuck Ebbert
2007-11-06  0:12 ` Patrick McHardy
2007-11-06 19:29   ` Chuck Ebbert
2007-11-06 23:51     ` Patrick McHardy

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