]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/blobdiff - net/netfilter/xt_RATEEST.c
netfilter: xtables: move extension arguments into compound structure (6/6)
[mirror_ubuntu-bionic-kernel.git] / net / netfilter / xt_RATEEST.c
index edf4ab1f30ff94765f0104b05ad52e29f7333019..43f5676b1af405d1a0c12a374710ae543d06346a 100644 (file)
@@ -139,10 +139,9 @@ err1:
        return false;
 }
 
-static void xt_rateest_tg_destroy(const struct xt_target *target,
-                                 void *targinfo)
+static void xt_rateest_tg_destroy(const struct xt_tgdtor_param *par)
 {
-       struct xt_rateest_target_info *info = targinfo;
+       struct xt_rateest_target_info *info = par->targinfo;
 
        xt_rateest_put(info->est);
 }