From: Justin Pettit Date: Mon, 7 Dec 2009 23:59:20 +0000 (-0800) Subject: xenserver: Remove ip_gre kernel module when other modules are removed X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5c8ef29c2efb73ab3bc8ac30f1499fb6499692cf;p=openvswitch xenserver: Remove ip_gre kernel module when other modules are removed --- 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 {