From: Pablo Neira Ayuso <pablo@netfilter.org>
To: Sam Roberts <vieuxtech@gmail.com>
Cc: Netfilter Developer Mailing List <netfilter-devel@vger.kernel.org>
Subject: Re: ctnetlink kernel dump while running multiple libnfct clients
Date: Wed, 30 Mar 2011 01:11:54 +0200 [thread overview]
Message-ID: <4D92673A.5070108@netfilter.org> (raw)
In-Reply-To: <AANLkTi=9y=E3dfq3QZEUHcQ506uHb+VhsivB+Ot-QQgR@mail.gmail.com>
On 30/03/11 00:44, Sam Roberts wrote:
> When this happened, I was running the prototype conntracker, and
> several instances of conntrack -E (for each table). I typed a
> conntrack -L command, and the kernel died after I hit ENTER. Could be
> unrelated to that, but seems suspiciously coincidental that the
> backtrace shown reflects something I did (it looks related to printing
> conntracks). Still, you would know better than me what the kernel does
> when things go wrong.
I think I've got the problematic scenario: the master ct is released
while there are still user-space expectations. In that case, the
expectations still point to the master, once they've been released. Once
the expectations expire, we dereference to the master ct which is not
valid anymore.
I'll send a patch to fix this.
next prev parent reply other threads:[~2011-03-29 23:12 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <AANLkTi=17VZ6Sjgj57LTa-xcJj00BSjv_-4DveiutNo1@mail.gmail.com>
2011-03-28 12:47 ` ctnetlink kernel dump while running multiple libnfct clients Pablo Neira Ayuso
2011-03-28 16:01 ` Sam Roberts
2011-03-29 10:12 ` Pablo Neira Ayuso
[not found] ` <AANLkTi=XfknKE9RkiohtW4+xzpAe2CGY1JDg7_JtfSUG@mail.gmail.com>
[not found] ` <4D925614.2000909@netfilter.org>
2011-03-29 22:44 ` Sam Roberts
2011-03-29 23:11 ` Pablo Neira Ayuso [this message]
[not found] ` <4DA1986A.4080305@netfilter.org>
[not found] ` <BANLkTinjb2yhAQo4Zqs1hMgcBCH1caM0yQ@mail.gmail.com>
[not found] ` <4DA40CD6.9030501@netfilter.org>
2011-04-12 16:59 ` fix for userspace expectations Sam Roberts
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=4D92673A.5070108@netfilter.org \
--to=pablo@netfilter.org \
--cc=netfilter-devel@vger.kernel.org \
--cc=vieuxtech@gmail.com \
/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).