diff options
author | Stefano Brivio <sbrivio@redhat.com> | 2024-06-18 08:17:51 +0200 |
---|---|---|
committer | Stefano Brivio <sbrivio@redhat.com> | 2024-06-20 17:03:28 +0200 |
commit | 62de6140d949795ff2595f0652b9c37929a3ce2f (patch) | |
tree | 747bc5b248e3a230dad3fa67c7df6371a55bbfe6 /passt.h | |
parent | 1544a4386370d08b50a881904c1810959933b72f (diff) | |
download | passt-62de6140d949795ff2595f0652b9c37929a3ce2f.tar passt-62de6140d949795ff2595f0652b9c37929a3ce2f.tar.gz passt-62de6140d949795ff2595f0652b9c37929a3ce2f.tar.bz2 passt-62de6140d949795ff2595f0652b9c37929a3ce2f.tar.lz passt-62de6140d949795ff2595f0652b9c37929a3ce2f.tar.xz passt-62de6140d949795ff2595f0652b9c37929a3ce2f.tar.zst passt-62de6140d949795ff2595f0652b9c37929a3ce2f.zip |
netlink: Strip nexthop identifiers when duplicating routes
If routing daemons set up host routes, for example FRR via OSPF as in
the reported issue, they might add nexthop identifiers (not objects)
that are generally not valid in the target namespace. Strip them off
as well, otherwise we'll get EINVAL from the kernel.
Link: https://github.com/containers/podman/issues/22960
Signed-off-by: Stefano Brivio <sbrivio@redhat.com>
Reviewed-by: David Gibson <david@gibson.dropbear.id.au>
Diffstat (limited to 'passt.h')
0 files changed, 0 insertions, 0 deletions