public inbox for passt-dev@passt.top
 help / color / mirror / code / Atom feed
From: Stefano Brivio <sbrivio@redhat.com>
To: Benjamin Schubert <contact@benschubert.me>
Cc: "passt-dev@passt.top" <passt-dev@passt.top>,
	Jon Maloy <jmaloy@redhat.com>
Subject: Re: [PATCH v2] netlink: Only consider gateway from the selected template  interface
Date: Fri, 04 Dec 2026 23:32:06 +0100 (CET)	[thread overview]
Message-ID: <20261204233205.3064284b@elisabeth> (raw)
In-Reply-To: <uT2Ma09TIJ9t1_2fBqHlukd6fcry6QuvYetLgEruy7JtYY93jokx1G2scv7fSDlYOox7amJez7f_DkIBJzfnA3cb5l2W-BBoLzPA3brSYRo=@benschubert.me>

On Fri, 04 Dec 2026 15:06:10 +0000
Benjamin Schubert <contact@benschubert.me> wrote:

> Previously, netlink could select a gateway from a different interface
> if it had higher weights than the one from the selected interface.
> 
> This can lead to a namespace having an unreachable default gateway.
> 
> This considers only nexthops from the current interface instead of all
> interfaces when looking at the template interface, ensuring that the ip
> and the gateway are always aligned.
> 
> Link: https://bugs.passt.top/show_bug.cgi?id=232
> Fixes: 6c7623d07bbd ("netlink: Add support to fetch default gateway
>        from multipath routes")
> Signed-off-by: Benjamin Schubert <bschubert15@bloomberg.net>

Applied, with minor amendments suggested by Jon.

-- 
Stefano

      parent reply	other threads:[~2026-12-04 22:32 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-12-04 15:06 Benjamin Schubert
2026-12-04 20:12 ` Jon Maloy
2026-12-04 21:21   ` Stefano Brivio
2026-12-04 22:32 ` Stefano Brivio [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=20261204233205.3064284b@elisabeth \
    --to=sbrivio@redhat.com \
    --cc=contact@benschubert.me \
    --cc=jmaloy@redhat.com \
    --cc=passt-dev@passt.top \
    /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.
Code repositories for project(s) associated with this public inbox

	https://passt.top/passt

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 IMAP folder(s).