netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2 0/2] ipv4: fix route update on metric change.
@ 2019-10-26  9:53 Paolo Abeni
  2019-10-26  9:53 ` [PATCH v2 1/2] " Paolo Abeni
                   ` (2 more replies)
  0 siblings, 3 replies; 5+ messages in thread
From: Paolo Abeni @ 2019-10-26  9:53 UTC (permalink / raw)
  To: netdev; +Cc: David Ahern, Beniamino Galvani, David S. Miller

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


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2019-10-26 18:27 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-10-26  9:53 [PATCH v2 0/2] ipv4: fix route update on metric change Paolo Abeni
2019-10-26  9:53 ` [PATCH v2 1/2] " 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

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).