summaryrefslogtreecommitdiff
path: root/net/netfilter/xt_mark.c
diff options
context:
space:
mode:
Diffstat (limited to 'net/netfilter/xt_mark.c')
-rw-r--r--net/netfilter/xt_mark.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/netfilter/xt_mark.c b/net/netfilter/xt_mark.c
index 8b385a34886d..876bc5797738 100644
--- a/net/netfilter/xt_mark.c
+++ b/net/netfilter/xt_mark.c
@@ -42,7 +42,7 @@ checkentry(const char *tablename,
unsigned int matchsize,
unsigned int hook_mask)
{
- struct xt_mark_info *minfo = (struct xt_mark_info *) matchinfo;
+ const struct xt_mark_info *minfo = matchinfo;
if (minfo->mark > 0xffffffff || minfo->mask > 0xffffffff) {
printk(KERN_WARNING "mark: only supports 32bit mark\n");