diff options
author | Christian Poessinger <christian@poessinger.com> | 2022-02-13 20:29:25 +0100 |
---|---|---|
committer | Christian Poessinger <christian@poessinger.com> | 2022-02-13 21:31:33 +0100 |
commit | 8bd635bd747ca35db5dd38d1fddeb0d0a9ffca37 (patch) | |
tree | b6d3467f98851754aae8f4f0e121607bd138cab1 /src/systemd | |
parent | 05d6085f93df440fe5f8d0d06f63e7be6e9da4b4 (diff) | |
download | vyos-1x-8bd635bd747ca35db5dd38d1fddeb0d0a9ffca37.tar.gz vyos-1x-8bd635bd747ca35db5dd38d1fddeb0d0a9ffca37.zip |
vrf: T4191: bugfix for "ip rule" when VRFs are created
We always mangled and worked on the "ip rule" singleton even when nothing
needed to be changed. This resulted in a VRF hickup when the same VRF was added
and removed multiple times.
set interfaces ethernet eth1 vrf foo
set vrf name foo table '1000'
commit
delete interfaces ethernet eth1 vrf
delete vrf
commit
set interfaces ethernet eth1 vrf foo
set vrf name foo table '1000'
commit
broke reachability on eth1 - a reboot was required.
This change will now only alter the ip rule tables once when VRF instances
are created for the first time and will not touch the Kernel "ip rule"
representation afterwards.
(cherry picked from commit 2cec431e5caf9df85640f707cd6dc3077c17c238)
Diffstat (limited to 'src/systemd')
0 files changed, 0 insertions, 0 deletions