]> err.no Git - linux-2.6/blobdiff - net/netfilter/xt_mark.c
[NETFILTER]: xt_MARK: add compat support for revision 0
[linux-2.6] / net / netfilter / xt_mark.c
index 650cdea97e729672f97bed0741672b2e1e49cead..ce8735e9762779d51575826f4bc32e513459b639 100644 (file)
@@ -94,6 +94,11 @@ static struct xt_match mark_mt_reg[] __read_mostly = {
                .checkentry     = mark_mt_check,
                .match          = mark_mt,
                .matchsize      = sizeof(struct xt_mark_info),
+#ifdef CONFIG_COMPAT
+               .compatsize     = sizeof(struct compat_xt_mark_info),
+               .compat_from_user = mark_mt_compat_from_user,
+               .compat_to_user = mark_mt_compat_to_user,
+#endif
                .me             = THIS_MODULE,
        },
 };