diff options
Diffstat (limited to 'net/ipv6/fib6_rules.c')
-rw-r--r-- | net/ipv6/fib6_rules.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/net/ipv6/fib6_rules.c b/net/ipv6/fib6_rules.c index 26374cbe2bc2..8377477b2c19 100644 --- a/net/ipv6/fib6_rules.c +++ b/net/ipv6/fib6_rules.c | |||
@@ -130,13 +130,9 @@ static int fib6_rule_match(struct fib_rule *rule, struct flowi *fl, int flags) | |||
130 | } | 130 | } |
131 | 131 | ||
132 | static struct nla_policy fib6_rule_policy[FRA_MAX+1] __read_mostly = { | 132 | static struct nla_policy fib6_rule_policy[FRA_MAX+1] __read_mostly = { |
133 | [FRA_IFNAME] = { .type = NLA_STRING, .len = IFNAMSIZ - 1 }, | 133 | FRA_GENERIC_POLICY, |
134 | [FRA_PRIORITY] = { .type = NLA_U32 }, | ||
135 | [FRA_SRC] = { .len = sizeof(struct in6_addr) }, | 134 | [FRA_SRC] = { .len = sizeof(struct in6_addr) }, |
136 | [FRA_DST] = { .len = sizeof(struct in6_addr) }, | 135 | [FRA_DST] = { .len = sizeof(struct in6_addr) }, |
137 | [FRA_FWMARK] = { .type = NLA_U32 }, | ||
138 | [FRA_FWMASK] = { .type = NLA_U32 }, | ||
139 | [FRA_TABLE] = { .type = NLA_U32 }, | ||
140 | }; | 136 | }; |
141 | 137 | ||
142 | static int fib6_rule_configure(struct fib_rule *rule, struct sk_buff *skb, | 138 | static int fib6_rule_configure(struct fib_rule *rule, struct sk_buff *skb, |