[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <1384464152.28716.35.camel@edumazet-glaptop2.roam.corp.google.com>
Date: Thu, 14 Nov 2013 13:22:32 -0800
From: Eric Dumazet <eric.dumazet@...il.com>
To: Johannes Berg <johannes@...solutions.net>
Cc: Dave Jones <davej@...hat.com>, David Miller <davem@...emloft.net>,
netdev@...r.kernel.org, Yuchung Cheng <ycheng@...gle.com>
Subject: Re: [PATCH] net-tcp: fix panic in tcp_fastopen_cache_set()
On Thu, 2013-11-14 at 21:53 +0100, Johannes Berg wrote:
> Heh. I have no idea, it just seemed a little odd on first look given
> that __sk_dst_get() *can* actually use RCU protection. :)
Yep, the deal is that if you own socket lock, you do not need
rcu_read_lock()
Look for dst_negative_advice() as another example :
We call __sk_dst_get(sk) without rcu_read_lock() protection.
--
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