]> bbs.cooldavid.org Git - net-next-2.6.git/blobdiff - net/ipv4/ipvs/ip_vs_ctl.c
unify flush_work/flush_work_keventd and rename it to cancel_work_sync
[net-next-2.6.git] / net / ipv4 / ipvs / ip_vs_ctl.c
index 342e836677a1e7b6377e3ac0971233a5a2df57b5..68fe1d4d0210384d358947acbdd55ed17bdc4f8d 100644 (file)
@@ -2387,7 +2387,7 @@ void ip_vs_control_cleanup(void)
        EnterFunction(2);
        ip_vs_trash_cleanup();
        cancel_rearming_delayed_work(&defense_work);
-       flush_work_keventd(&defense_work.work);
+       cancel_work_sync(&defense_work.work);
        ip_vs_kill_estimator(&ip_vs_stats);
        unregister_sysctl_table(sysctl_header);
        proc_net_remove("ip_vs_stats");