From: David Miller <davem@davemloft.net>
To: herbert@gondor.apana.org.au
Cc: yoshfuji@linux-ipv6.org, Matt_Domsch@dell.com,
linux-kernel@vger.kernel.org, netdev@vger.kernel.org
Subject: Re: [IPV6]: Audit all ip6_dst_lookup/ip6_dst_store calls
Date: Sun, 30 Jul 2006 15:44:16 -0700 (PDT) [thread overview]
Message-ID: <20060730.154416.121293840.davem@davemloft.net> (raw)
In-Reply-To: <20060729043325.GA7035@gondor.apana.org.au>
From: Herbert Xu <herbert@gondor.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@gondor.apana.org.au>
Applied, thanks Herbert.
next prev parent reply other threads:[~2006-07-30 22:44 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-07-28 19:45 lockdep tcp_v6_rcv message Matt Domsch
2006-07-29 4:33 ` [IPV6]: Audit all ip6_dst_lookup/ip6_dst_store calls Herbert Xu
2006-07-30 22:44 ` David Miller [this message]
2006-07-31 3:32 ` Matt Domsch
2006-07-31 3:56 ` David Miller
2006-07-31 4:25 ` Matt Domsch
2006-07-31 9:04 ` Herbert Xu
2006-08-01 14:41 ` Andrew Morton
2006-08-01 17:24 ` Andi Kleen
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20060730.154416.121293840.davem@davemloft.net \
--to=davem@davemloft.net \
--cc=Matt_Domsch@dell.com \
--cc=herbert@gondor.apana.org.au \
--cc=linux-kernel@vger.kernel.org \
--cc=netdev@vger.kernel.org \
--cc=yoshfuji@linux-ipv6.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®