summaryrefslogtreecommitdiff
path: root/python/setup.py
diff options
context:
space:
mode:
authorChristian Breunig <christian@breunig.cc>2025-11-04 16:16:25 +0100
committerChristian Breunig <christian@breunig.cc>2025-11-04 16:24:29 +0100
commit2f5ced44d12f3e92a22cc43eb5f4e7df4b7f062f (patch)
tree6886802c6e999ff78068bf91ff2983216bb75773 /python/setup.py
parente1b7b865a63454ae4b8f840c94ab599633faaf7f (diff)
downloadvyos-1x-2f5ced44d12f3e92a22cc43eb5f4e7df4b7f062f.tar.gz
vyos-1x-2f5ced44d12f3e92a22cc43eb5f4e7df4b7f062f.zip
veth: T7990: fix stale DHCP clients when removing virtual Ethernet pairs
When removing a veth interface, the kernel automatically deletes its peer interface, since veth devices always exist in pairs. However, this automatic removal does not trigger the remove() helper in vyos.ifconfig.interfaces, which can leave associated DHCP(v6) clients running indefinitely. For example: ip link add veth0 type veth peer name veth1 ip link del dev veth1 Removing veth1 will also delete veth0 in the kernel, but the VyOS cleanup routines are never called for veth0. This patch ensures that peer removal correctly purges both interfaces and their associated state. This drops the workarounds in veth smoketest and falls back to the common interface smoketests from the inherited base class.
Diffstat (limited to 'python/setup.py')
0 files changed, 0 insertions, 0 deletions