From: David Miller <davem@davemloft.net>
To: olof@lixom.net
Cc: xemul@openvz.org, netdev@vger.kernel.org, devel@openvz.org,
linux-kernel@vger.kernel.org
Subject: Re: [PATCH 0/4] Fix race between sk_filter reassign and sk_clone()
Date: Thu, 18 Oct 2007 21:55:21 -0700 (PDT) [thread overview]
Message-ID: <20071018.215521.28810637.davem@davemloft.net> (raw)
In-Reply-To: <20071019022947.GA29560@lixom.net>
From: Olof Johansson <olof@lixom.net>
Date: Thu, 18 Oct 2007 21:29:47 -0500
> So, looks like rcu_dereference() returned NULL. I don't know the
> filter code at all, but it seems like it might be a valid case?
> sk_detach_filter() seems to handle a NULL sk_filter, at least.
>
>
> So, this needs review by someone who knows the filter, but it fixes the
> problem for me:
>
>
> Signed-off-by: Olof Johansson <olof@lixom.net>
I've applied this for now to my net-2.6 tree, thanks Olof
for tracking this down.
Pavel please take a look at this and let me know if it should
fixed in some other way.
Thanks!
next prev parent reply other threads:[~2007-10-19 4:55 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <4715D9D2.8070102@openvz.org>
[not found] ` <20071017.212302.68039057.davem@davemloft.net>
2007-10-19 2:29 ` Olof Johansson
2007-10-19 4:55 ` David Miller [this message]
2007-10-19 7:37 ` Pavel Emelyanov
2007-10-19 7:52 ` David Miller
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=20071018.215521.28810637.davem@davemloft.net \
--to=davem@davemloft.net \
--cc=devel@openvz.org \
--cc=linux-kernel@vger.kernel.org \
--cc=netdev@vger.kernel.org \
--cc=olof@lixom.net \
--cc=xemul@openvz.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
all inboxes | Powered by JetHome®