--- ipvs-0.9.5/ipvs/ip_vs_ctl.c.orig Wed Sep 19 04:14:24 2001 +++ ipvs-0.9.5/ipvs/ip_vs_ctl.c Mon Oct 22 12:01:15 2001 @@ -1054,7 +1054,7 @@ return 0; out_err: - if (sched->module) + if (sched && sched->module) __MOD_DEC_USE_COUNT(sched->module); if (svc) { kfree(svc);