]> git.karo-electronics.de Git - karo-tx-linux.git/blobdiff - net/netfilter/xt_string.c
Merge branches 'topic/fix/hda' and 'topic/fix/misc' into for-linus
[karo-tx-linux.git] / net / netfilter / xt_string.c
index c9407aa78f73ae3d36f727dd2395d33bc997b9dc..b4d7741113115330bc4ae6d5a6df35d6ae14f4cd 100644 (file)
@@ -70,9 +70,9 @@ static bool string_mt_check(const struct xt_mtchk_param *par)
        return true;
 }
 
-static void string_mt_destroy(const struct xt_match *match, void *matchinfo)
+static void string_mt_destroy(const struct xt_mtdtor_param *par)
 {
-       textsearch_destroy(STRING_TEXT_PRIV(matchinfo)->config);
+       textsearch_destroy(STRING_TEXT_PRIV(par->matchinfo)->config);
 }
 
 static struct xt_match xt_string_mt_reg[] __read_mostly = {