[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20100331135331.GB14082@gondor.apana.org.au>
Date: Wed, 31 Mar 2010 21:53:31 +0800
From: Herbert Xu <herbert@...dor.apana.org.au>
To: jamal <hadi@...erus.ca>
Cc: 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
On Wed, Mar 31, 2010 at 09:28:12AM -0400, jamal wrote:
>
> -sudo ip route add 192.168.11.100 dev eth0 table 15
> generates an event
> -sudo ip route flush table 15
> generates an event
> -sudo ip route flush table 15
> No event
That's completely different. We don't have a route flush event,
instead we're sending route delete events. That's why when the
table is empty you get no events.
If we had a route flush event then it would behave exactly the
same.
BTW you've also made xfrm_state_flush inconsistent with respect
to xfrm_policy_flush.
Dave, please revert this patch.
Thanks,
--
Visit Openswan at http://www.openswan.org/
Email: Herbert Xu ~{PmV>HI~} <herbert@...dor.apana.org.au>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt
--
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