From: David Miller <davem@davemloft.net>
To: dsahern@kernel.org
Cc: netdev@vger.kernel.org, roopa@cumulusnetworks.com,
idosch@mellanox.com, dsahern@gmail.com
Subject: Re: [PATCH net-next] net: Evict neighbor entries on carrier down
Date: Fri, 12 Oct 2018 09:49:29 -0700 (PDT) [thread overview]
Message-ID: <20181012.094929.855844907752350108.davem@davemloft.net> (raw)
In-Reply-To: <20181012033349.5213-1-dsahern@kernel.org>
From: David Ahern <dsahern@kernel.org>
Date: Thu, 11 Oct 2018 20:33:49 -0700
> From: David Ahern <dsahern@gmail.com>
>
> When a link's carrier goes down it could be a sign of the port changing
> networks. If the new network has overlapping addresses with the old one,
> then the kernel will continue trying to use neighbor entries established
> based on the old network until the entries finally age out - meaning a
> potentially long delay with communications not working.
>
> This patch evicts neighbor entries on carrier down with the exception of
> those marked permanent. Permanent entries are managed by userspace (either
> an admin or a routing daemon such as FRR).
>
> Signed-off-by: David Ahern <dsahern@gmail.com>
Applied.
prev parent reply other threads:[~2018-10-13 0:22 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-10-12 3:33 [PATCH net-next] net: Evict neighbor entries on carrier down David Ahern
2018-10-12 16:49 ` David Miller [this message]
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=20181012.094929.855844907752350108.davem@davemloft.net \
--to=davem@davemloft.net \
--cc=dsahern@gmail.com \
--cc=dsahern@kernel.org \
--cc=idosch@mellanox.com \
--cc=netdev@vger.kernel.org \
--cc=roopa@cumulusnetworks.com \
/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;
as well as URLs for NNTP newsgroup(s).