From: Patrick McHardy <kaber@trash.net>
To: Phil Oester <kernel@linuxace.com>
Cc: netfilter-devel@lists.netfilter.org
Subject: Re: [PATCH] Orphaned expectations
Date: Sun, 25 Apr 2004 02:25:43 +0200 [thread overview]
Message-ID: <408B0587.8040702@trash.net> (raw)
In-Reply-To: <20040419203744.GA1328@linuxace.com>
Phil Oester wrote:
> So we need to make sure that expectations don't get orphaned in this way, which
> I believe the below patch will ensure. Of course it will also stop the
> oops on read of /proc/net/ip_conntrack.
Thanks Phil, I've added this patch to CVS:
@@ -324,8 +324,9 @@
ip_conntrack_destroyed(ct);
WRITE_LOCK(&ip_conntrack_lock);
- /* Delete us from our own list to prevent corruption later */
- list_del(&ct->sibling_list);
+ /* Make sure don't leave any orphaned expectations lying around */
+ if (ct->expecting)
+ remove_expectations(ct, 1);
/* Delete our master expectation */
if (ct->master) {
Regards,
Patrick
prev parent reply other threads:[~2004-04-25 0:25 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-04-19 20:37 [PATCH] Orphaned expectations Phil Oester
2004-04-20 11:51 ` Chris Wilson
2004-04-20 15:14 ` Phil Oester
2004-04-20 23:33 ` Pablo Neira
2004-04-21 11:17 ` Chris Wilson
2004-04-21 22:54 ` Pablo Neira
2004-04-25 0:25 ` Patrick McHardy [this message]
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=408B0587.8040702@trash.net \
--to=kaber@trash.net \
--cc=kernel@linuxace.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.