]> git.karo-electronics.de Git - mv-sheeva.git/blobdiff - net/netfilter/xt_sctp.c
Merge branch 'fix/asoc' into for-linus
[mv-sheeva.git] / net / netfilter / xt_sctp.c
index b0014ab65da7f39af3bc9539c879f349f9ae4b38..e223cb43ae8e09e5374051146552e6560be3f75a 100644 (file)
@@ -147,12 +147,9 @@ sctp_mt(const struct sk_buff *skb, const struct xt_match_param *par)
                           XT_SCTP_CHUNK_TYPES, info->flags, info->invflags);
 }
 
-static bool
-sctp_mt_check(const char *tablename, const void *inf,
-              const struct xt_match *match, void *matchinfo,
-              unsigned int hook_mask)
+static bool sctp_mt_check(const struct xt_mtchk_param *par)
 {
-       const struct xt_sctp_info *info = matchinfo;
+       const struct xt_sctp_info *info = par->matchinfo;
 
        return !(info->flags & ~XT_SCTP_VALID_FLAGS)
                && !(info->invflags & ~XT_SCTP_VALID_FLAGS)