From 5c8ef29c2efb73ab3bc8ac30f1499fb6499692cf Mon Sep 17 00:00:00 2001 From: Justin Pettit Date: Mon, 7 Dec 2009 15:59:20 -0800 Subject: [PATCH] xenserver: Remove ip_gre kernel module when other modules are removed --- xenserver/etc_init.d_vswitch | 3 +++ 1 file changed, 3 insertions(+) diff --git a/xenserver/etc_init.d_vswitch b/xenserver/etc_init.d_vswitch index 1b250dd8..18dd7bc6 100755 --- a/xenserver/etc_init.d_vswitch +++ b/xenserver/etc_init.d_vswitch @@ -104,6 +104,9 @@ function remove_modules { if lsmod | grep -q "openvswitch_mod"; then action "Removing openvswitch module" rmmod openvswitch_mod.ko fi + if lsmod | grep -q "ip_gre_mod"; then + action "Removing ip_gre module" rmmod ip_gre_mod.ko + fi } function reload_vswitchd { -- 2.30.2