netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Paolo Abeni <pabeni@redhat.com>
To: netdev@vger.kernel.org
Cc: David Ahern <dsahern@gmail.com>,
	Beniamino Galvani <bgalvani@redhat.com>,
	"David S. Miller" <davem@davemloft.net>
Subject: [PATCH v2 0/2] ipv4: fix route update on metric change.
Date: Sat, 26 Oct 2019 11:53:38 +0200	[thread overview]
Message-ID: <cover.1572083332.git.pabeni@redhat.com> (raw)

This fixes connected route update on some edge cases for ip addr metric
change.
It additionally includes self tests for the covered scenarios. The new tests
fail on unpatched kernels and pass on the patched one.

v1 -> v2:
 - add selftests

Paolo Abeni (2):
  ipv4: fix route update on metric change.
  selftests: fib_tests: add more tests for metric update

 net/ipv4/fib_frontend.c                  |  2 +-
 tools/testing/selftests/net/fib_tests.sh | 21 +++++++++++++++++++++
 2 files changed, 22 insertions(+), 1 deletion(-)

-- 
2.21.0


             reply	other threads:[~2019-10-26  9:53 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-10-26  9:53 Paolo Abeni [this message]
2019-10-26  9:53 ` [PATCH v2 1/2] ipv4: fix route update on metric change Paolo Abeni
2019-10-26  9:53 ` [PATCH v2 2/2] selftests: fib_tests: add more tests for metric update Paolo Abeni
2019-10-26 16:38   ` David Ahern
2019-10-26 18:26 ` [PATCH v2 0/2] ipv4: fix route update on metric change David Miller

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=cover.1572083332.git.pabeni@redhat.com \
    --to=pabeni@redhat.com \
    --cc=bgalvani@redhat.com \
    --cc=davem@davemloft.net \
    --cc=dsahern@gmail.com \
    --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;
as well as URLs for NNTP newsgroup(s).