[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20140902.222819.1246875721008896036.davem@davemloft.net>
Date: Tue, 02 Sep 2014 22:28:19 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: harish_kandiga@...tor.com
Cc: dborkman@...hat.com, tgraf@...g.ch, ebiederm@...ssion.com,
darkjames-ws@...kjames.pl, rgb@...hat.com, eric.dumazet@...il.com,
stephen@...workplumber.org, netdev@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: [RFC PATCH] netlink: Safer deletion of sk_bind_node
From: Harish Jenny Kandiga Nagaraj <harish_kandiga@...tor.com>
Date: Wed, 3 Sep 2014 10:49:59 +0530
> If that is the case , then subscriptions of netlink_sock should have
> been updated after netlink_remove or netlink_release. I don't see
> that happening.
Please do not top-post. First provide the quoted context, then provide
your response afterwards, rather than the other way around.
The point I was trying to make is that all code paths that operate
on this list have to follow this rule, if there is a code path that
is not then that is your bug and that is where the fix belongs.
We're unexpectedly having double deletes occur on this list, I would
prefer if we don't paper over it by allowing it to silently succeed.
--
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