public inbox for netdev@vger.kernel.org
 help / color / mirror / Atom feed
From: David Miller <davem@davemloft.net>
To: netdev@vger.kernel.org
Cc: ja@ssi.bg
Subject: [PATCH 0/2] Fix nh_saddr caching.
Date: Thu, 24 Mar 2011 18:14:13 -0700 (PDT)	[thread overview]
Message-ID: <20110324.181413.173844730.davem@davemloft.net> (raw)


Julian, the following two patches should take all of the
issues we discovered the other week wrt. nh_saddr caching.

First, we use a generation ID to invalidate cache nh_saddr
settings any time a device goes up or an IP address is
added/removed.

Second, we move fa_scope up to fib_info->fib_scope, so that
we always use the correct scope when computing the cached
nh_saddr.

Please review this carefully as this is delicate code.

Thanks!

             reply	other threads:[~2011-03-25  1:13 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-03-25  1:14 David Miller [this message]
2011-03-25 23:30 ` [PATCH 0/2] Fix nh_saddr caching Julian Anastasov

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=20110324.181413.173844730.davem@davemloft.net \
    --to=davem@davemloft.net \
    --cc=ja@ssi.bg \
    --cc=netdev@vger.kernel.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