git.samba.org
/
sfrench
/
cifs-2.6.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
[NETLINK]: Mark netlink policies const
[sfrench/cifs-2.6.git]
/
net
/
ipv6
/
fib6_rules.c
diff --git
a/net/ipv6/fib6_rules.c
b/net/ipv6/fib6_rules.c
index fc3882c906049ce8b051b30c1658fa20e1f6fce6..53b3998a486ced67d9eae000cff6c9a1269ecf66 100644
(file)
--- a/
net/ipv6/fib6_rules.c
+++ b/
net/ipv6/fib6_rules.c
@@
-157,7
+157,7
@@
static int fib6_rule_match(struct fib_rule *rule, struct flowi *fl, int flags)
return 1;
}
-static
struct nla_policy fib6_rule_policy[FRA_MAX+1] __read_mostly
= {
+static
const struct nla_policy fib6_rule_policy[FRA_MAX+1]
= {
FRA_GENERIC_POLICY,
};