git://ftp.safe.ca
/
safe
/
jmp
/
linux-2.6
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
[NETFILTER]: add some consts, remove some casts
[safe/jmp/linux-2.6]
/
net
/
netfilter
/
xt_realm.c
diff --git
a/net/netfilter/xt_realm.c
b/net/netfilter/xt_realm.c
index
ad82c13
..
44b807d
100644
(file)
--- 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;
}