ipvs: Pass ipvs not net to ip_vs_random_drop_entry
[cascardo/linux.git] / net / netfilter / ipvs / ip_vs_ctl.c
index f43b894..93b7bd3 100644 (file)
@@ -228,7 +228,7 @@ static void defense_work_handler(struct work_struct *work)
 
        update_defense_level(ipvs);
        if (atomic_read(&ipvs->dropentry))
-               ip_vs_random_dropentry(ipvs->net);
+               ip_vs_random_dropentry(ipvs);
        schedule_delayed_work(&ipvs->defense_work, DEFENSE_TIMER_PERIOD);
 }
 #endif