[libvirt] [PATCH 0/4] Prevent loosing IPv6 routes due to forwarding

Cédric Bosdonnat posted 4 patches 7 years, 1 month ago
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/libvirt tags/patchew/20170303150022.2524-1-cbosdonnat@suse.com
src/libvirt_private.syms    |   1 +
src/network/bridge_driver.c | 187 +++++++++++++++++++++++++++++++++++++++++---
src/util/virnetlink.c       | 145 +++++++++++++++++++++++++---------
src/util/virnetlink.h       |   9 +++
4 files changed, 298 insertions(+), 44 deletions(-)
[libvirt] [PATCH 0/4] Prevent loosing IPv6 routes due to forwarding
Posted by Cédric Bosdonnat 7 years, 1 month ago
Hi all,

When enabling IPv6 forwarding on hosts getting Router Advertised routes,
the host looses the RA routes. To prevent this, check if the host has
such routes. In case there are some, check that the accept_ra is set
to 2 before bringing the network up.

Cédric Bosdonnat (4):
  util: extract the request sending code from virNetlinkCommand()
  util: add virNetlinkDumpCommand()
  bridge_driver.c: more uses of SYSCTL_PATH
  network: check accept_ra before enabling ipv6 forwarding

 src/libvirt_private.syms    |   1 +
 src/network/bridge_driver.c | 187 +++++++++++++++++++++++++++++++++++++++++---
 src/util/virnetlink.c       | 145 +++++++++++++++++++++++++---------
 src/util/virnetlink.h       |   9 +++
 4 files changed, 298 insertions(+), 44 deletions(-)

-- 
2.11.0

--
libvir-list mailing list
libvir-list@redhat.com
https://www.redhat.com/mailman/listinfo/libvir-list
Re: [libvirt] [PATCH 0/4] Prevent loosing IPv6 routes due to forwarding
Posted by Cedric Bosdonnat 7 years, 1 month ago
Hi guys,

Has that patch series fallen into the mailing list abysses?

--
Cedric

On Fri, 2017-03-03 at 16:00 +0100, Cédric Bosdonnat wrote:
> Hi all,
> 
> When enabling IPv6 forwarding on hosts getting Router Advertised routes,
> the host looses the RA routes. To prevent this, check if the host has
> such routes. In case there are some, check that the accept_ra is set
> to 2 before bringing the network up.
> 
> Cédric Bosdonnat (4):
>   util: extract the request sending code from virNetlinkCommand()
>   util: add virNetlinkDumpCommand()
>   bridge_driver.c: more uses of SYSCTL_PATH
>   network: check accept_ra before enabling ipv6 forwarding
> 
>  src/libvirt_private.syms    |   1 +
>  src/network/bridge_driver.c | 187 +++++++++++++++++++++++++++++++++++++++++---
>  src/util/virnetlink.c       | 145 +++++++++++++++++++++++++---------
>  src/util/virnetlink.h       |   9 +++
>  4 files changed, 298 insertions(+), 44 deletions(-)
> 

--
libvir-list mailing list
libvir-list@redhat.com
https://www.redhat.com/mailman/listinfo/libvir-list