[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20150722184328.GB2832181@devbig242.prn2.facebook.com>
Date: Wed, 22 Jul 2015 11:43:29 -0700
From: Martin KaFai Lau <kafai@...com>
To: YOSHIFUJI Hideaki <hideaki.yoshifuji@...aclelinux.com>
CC: netdev <netdev@...r.kernel.org>, Kernel Team <kernel-team@...com>,
Hannes Frederic Sowa <hannes@...essinduktion.org>
Subject: Re: [PATCH net-next] ipv6: Avoid rt6_probe() taking writer lock in
the fast path
On Wed, Jul 22, 2015 at 11:10:59AM +0900, YOSHIFUJI Hideaki wrote:
> You have to take "some" lock when accessing neigh->nud_state
> theoretically.
I don't think read_lock can buy us a lot of extra protection either.
If it has missed the train, the next ip6_pol_route() call will
trigger rt6_probe(). There are other places checking nud_state without
lock also.
Thanks,
--Martin
--
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