From 7887d1e3ed4c2ecd1f23b7235973a12791459ae8 Mon Sep 17 00:00:00 2001 From: Michael Tremer Date: Sun, 23 Sep 2018 19:52:49 +0200 Subject: [PATCH] hotplug: Do not attempt to remove special device ip_vti0 Signed-off-by: Michael Tremer --- src/udev/network-hotplug | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/udev/network-hotplug b/src/udev/network-hotplug index c810bf2e..ba065734 100644 --- a/src/udev/network-hotplug +++ b/src/udev/network-hotplug @@ -89,6 +89,11 @@ case "${SUBSYSTEM}" in if device_is_gre "${INTERFACE}" && [ "${INTERFACE}" = "gre0" ]; then log DEBUG "gre0 cannot be removed" exit ${EXIT_OK} + + # VTI + elif device_is_vti "${INTERFACE}" && [ "${INTERFACE}" = "ip_vti0" ]; then + log DEBUG "ip_vti0 cannot be removed" + exit ${EXIT_OK} fi TYPE="$(device_get_type "${INTERFACE}")" -- 2.47.2