[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20071019.005245.77429272.davem@davemloft.net>
Date: Fri, 19 Oct 2007 00:52:45 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: xemul@...nvz.org
Cc: olof@...om.net, netdev@...r.kernel.org, devel@...nvz.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH 0/4] Fix race between sk_filter reassign and sk_clone()
From: Pavel Emelyanov <xemul@...nvz.org>
Date: Fri, 19 Oct 2007 11:37:02 +0400
> David Miller wrote:
> > From: Olof Johansson <olof@...om.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:
>
> Yes. The NULL filter is a valid case, when there are no
> filters attached at all. So this fix is correct.
>
> Thanks, Olof. Sorry, Dave :(
No worries, thanks for reviewing.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists