kmod-macros: Don't unload kmod in VSWITCHD_STOP.
authorJoe Stringer <joestringer@nicira.com>
Wed, 29 Jul 2015 23:28:59 +0000 (16:28 -0700)
committerJoe Stringer <joestringer@nicira.com>
Fri, 7 Aug 2015 18:13:26 +0000 (11:13 -0700)
commitda8005a08ff7e70c1c828d69b87e8326faf21555
tree7d78f1b9d89e34d8fb51570714e37824ab1fc101
parent119db2cb18a72fd9851ce460ab0df2fd2bb166f2
kmod-macros: Don't unload kmod in VSWITCHD_STOP.

We already queue the removal of the kernel module in OVS_VSWITCHD_START,
via an ON_EXIT() call. That command is executed in both the success and
failure cases, so it is unnecessary to unload the kernel module in
OVS_VSWITCHD_STOP.

Signed-off-by: Joe Stringer <joestringer@nicira.com>
Acked-by: Daniele Di Proietto <diproiettod@vmware.com>
tests/kmod-macros.at