netfilter: xtables: move extension arguments into compound structure (3/6)
[GitHub/mt8127/android_kernel_alcatel_ttab.git] / net / netfilter / xt_conntrack.c
index f04c46a02ce0d77eb81dc4ac84f1e5e134ba9d53..5cd58d7fcb1c98e55346afc5f8dfc39a78acec99 100644 (file)
@@ -288,10 +288,9 @@ static bool conntrack_mt_check(const struct xt_mtchk_param *par)
        return true;
 }
 
-static void
-conntrack_mt_destroy(const struct xt_match *match, void *matchinfo)
+static void conntrack_mt_destroy(const struct xt_mtdtor_param *par)
 {
-       nf_ct_l3proto_module_put(match->family);
+       nf_ct_l3proto_module_put(par->match->family);
 }
 
 #ifdef CONFIG_COMPAT