netdev
[Top] [All Lists]

Re: [BK PATCH] sk_dst_cache annotation

To: yoshfuji@xxxxxxxxxxxxxx
Subject: Re: [BK PATCH] sk_dst_cache annotation
From: "David S. Miller" <davem@xxxxxxxxxxxxx>
Date: Tue, 18 Jan 2005 12:59:29 -0800
Cc: netdev@xxxxxxxxxxx
In-reply-to: <20050118.114034.89476074.yoshfuji@linux-ipv6.org>
References: <20050115.160008.04476889.yoshfuji@linux-ipv6.org> <20050117124913.49c253b6.davem@davemloft.net> <20050118.114034.89476074.yoshfuji@linux-ipv6.org>
Sender: netdev-bounce@xxxxxxxxxxx
On Tue, 18 Jan 2005 11:40:34 +0900 (JST)
YOSHIFUJI Hideaki / 吉藤英明 <yoshfuji@xxxxxxxxxxxxxx> wrote:

> Let me clarify:
>   if all the code paths (for each socket type) lock socket,
>   we don't need sk_dst_lock at all (for that socket type).
>   otherwise, we have races; we need sk_dst_lock (for that socket type).
> 
> Am I corrent?

That's correct.


<Prev in Thread] Current Thread [Next in Thread>