From: Chuck Ebbert <cebbert@redhat.com>
To: Netdev <netdev@vger.kernel.org>
Subject: netfilter: nf_conntrack_ipv4 does not show nf_nat as a user
Date: Mon, 05 Nov 2007 15:10:49 -0500 [thread overview]
Message-ID: <472F78C9.9060900@redhat.com> (raw)
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
next reply other threads:[~2007-11-05 20:10 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-11-05 20:10 Chuck Ebbert [this message]
2007-11-06 0:12 ` netfilter: nf_conntrack_ipv4 does not show nf_nat as a user Patrick McHardy
2007-11-06 19:29 ` Chuck Ebbert
2007-11-06 23:51 ` Patrick McHardy
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=472F78C9.9060900@redhat.com \
--to=cebbert@redhat.com \
--cc=netdev@vger.kernel.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).