[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20060730.154416.121293840.davem@davemloft.net>
Date: Sun, 30 Jul 2006 15:44:16 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: herbert@...dor.apana.org.au
Cc: yoshfuji@...ux-ipv6.org, Matt_Domsch@...l.com,
linux-kernel@...r.kernel.org, netdev@...r.kernel.org
Subject: Re: [IPV6]: Audit all ip6_dst_lookup/ip6_dst_store calls
From: Herbert Xu <herbert@...dor.apana.org.au>
Date: Sat, 29 Jul 2006 14:33:25 +1000
> [IPV6]: Audit all ip6_dst_lookup/ip6_dst_store calls
>
> The current users of ip6_dst_lookup can be divided into two classes:
>
> 1) The caller holds no locks and is in user-context (UDP).
> 2) The caller does not want to lookup the dst cache at all.
>
> The second class covers everyone except UDP because most people do
> the cache lookup directly before calling ip6_dst_lookup. This patch
> adds ip6_sk_dst_lookup for the first class.
>
> Similarly ip6_dst_store users can be divded into those that need to
> take the socket dst lock and those that don't. This patch adds
> __ip6_dst_store for those (everyone except UDP/datagram) that don't
> need an extra lock.
>
> Signed-off-by: Herbert Xu <herbert@...dor.apana.org.au>
Applied, thanks Herbert.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists