[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <4BB48269.7010307@trash.net>
Date: Thu, 01 Apr 2010 13:24:25 +0200
From: Patrick McHardy <kaber@...sh.net>
To: hadi@...erus.ca
CC: Herbert Xu <herbert@...dor.apana.org.au>,
Timo Teras <timo.teras@....fi>, netdev@...r.kernel.org,
"David S. Miller" <davem@...emloft.net>
Subject: Re: [PATCH 3/4] xfrm: remove policy lock when accessing policy->walk.dead
jamal wrote:
> On Wed, 2010-03-31 at 18:41 +0200, Patrick McHardy wrote:
>
>> I agree with Herbert, the flush notification indicates that
>> the table is now empty, independant of its previous state.
>
> What purpose does it serve?
>
> As an example, if i delete an entry, the fact i deleted an entry is
> of interest to some manager in user space for the purpose of syncing.
> If i brought a link down, same thing. If i brought a link down
> that was already down - why would that be of interest to generate
> as an event? etc.
That's true. Since both pfkey and xfrm process messages synchronously,
there shouldn't be any need for this. In fact I couldn't even find
a single keying daemon that cares about this message.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists