]> git.karo-electronics.de Git - karo-tx-linux.git/blobdiff - net/netfilter/xt_dccp.c
Merge commit 'v2.6.28-rc2' into topic/asoc
[karo-tx-linux.git] / net / netfilter / xt_dccp.c
index 7aa30bb910509ec6f52b3ee3871fe9dd3ae8310f..e5d3e867328790f59f18fd630595520406ca5c48 100644 (file)
@@ -121,12 +121,9 @@ dccp_mt(const struct sk_buff *skb, const struct xt_match_param *par)
                           XT_DCCP_OPTION, info->flags, info->invflags);
 }
 
-static bool
-dccp_mt_check(const char *tablename, const void *inf,
-              const struct xt_match *match, void *matchinfo,
-              unsigned int hook_mask)
+static bool dccp_mt_check(const struct xt_mtchk_param *par)
 {
-       const struct xt_dccp_info *info = matchinfo;
+       const struct xt_dccp_info *info = par->matchinfo;
 
        return !(info->flags & ~XT_DCCP_VALID_FLAGS)
                && !(info->invflags & ~XT_DCCP_VALID_FLAGS)