diff options
author | YOSHIFUJI Hideaki <yoshfuji@linux-ipv6.org> | 2006-08-25 19:05:00 -0400 |
---|---|---|
committer | David S. Miller <davem@sunset.davemloft.net> | 2006-09-22 18:18:07 -0400 |
commit | 2613aad5ab28579687519918cdc353af0eed5a3f (patch) | |
tree | 76e8c22b32b9229367537dcc277fcebd92f30767 /net/ipv6/fib6_rules.c | |
parent | 6c5eb6a50741b882fd99fbb8178942ca2f74b724 (diff) |
[IPV6] ROUTE: Fix size of fib6_rule_policy.
It should not be RTA_MAX+1 but FRA_MAX+1.
Signed-off-by: YOSHIFUJI Hideaki <yoshfuji@linux-ipv6.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv6/fib6_rules.c')
-rw-r--r-- | net/ipv6/fib6_rules.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/ipv6/fib6_rules.c b/net/ipv6/fib6_rules.c index b4cd5c03b0b6..3d64c71f52de 100644 --- a/net/ipv6/fib6_rules.c +++ b/net/ipv6/fib6_rules.c | |||
@@ -135,7 +135,7 @@ static int fib6_rule_match(struct fib_rule *rule, struct flowi *fl, int flags) | |||
135 | return 1; | 135 | return 1; |
136 | } | 136 | } |
137 | 137 | ||
138 | static struct nla_policy fib6_rule_policy[RTA_MAX+1] __read_mostly = { | 138 | static struct nla_policy fib6_rule_policy[FRA_MAX+1] __read_mostly = { |
139 | [FRA_IFNAME] = { .type = NLA_STRING }, | 139 | [FRA_IFNAME] = { .type = NLA_STRING }, |
140 | [FRA_PRIORITY] = { .type = NLA_U32 }, | 140 | [FRA_PRIORITY] = { .type = NLA_U32 }, |
141 | [FRA_SRC] = { .minlen = sizeof(struct in6_addr) }, | 141 | [FRA_SRC] = { .minlen = sizeof(struct in6_addr) }, |