aboutsummaryrefslogtreecommitdiff
path: root/net/netfilter/xt_realm.c
diff options
context:
space:
mode:
Diffstat (limited to 'net/netfilter/xt_realm.c')
-rw-r--r--net/netfilter/xt_realm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/netfilter/xt_realm.c b/net/netfilter/xt_realm.c
index ad82c132694..44b807d279a 100644
--- a/net/netfilter/xt_realm.c
+++ b/net/netfilter/xt_realm.c
@@ -32,7 +32,7 @@ match(const struct sk_buff *skb,
bool *hotdrop)
{
const struct xt_realm_info *info = matchinfo;
- struct dst_entry *dst = skb->dst;
+ const struct dst_entry *dst = skb->dst;
return (info->id == (dst->tclassid & info->mask)) ^ info->invert;
}