aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--net/ipv6/fib6_rules.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/net/ipv6/fib6_rules.c b/net/ipv6/fib6_rules.c
index aebd9e2b85a..b4cd5c03b0b 100644
--- a/net/ipv6/fib6_rules.c
+++ b/net/ipv6/fib6_rules.c
@@ -27,7 +27,7 @@ struct fib6_rule
27 struct rt6key src; 27 struct rt6key src;
28 struct rt6key dst; 28 struct rt6key dst;
29#ifdef CONFIG_IPV6_ROUTE_FWMARK 29#ifdef CONFIG_IPV6_ROUTE_FWMARK
30 u8 fwmark; 30 u32 fwmark;
31#endif 31#endif
32 u8 tclass; 32 u8 tclass;
33}; 33};
@@ -140,6 +140,7 @@ static struct nla_policy fib6_rule_policy[RTA_MAX+1] __read_mostly = {
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) },
142 [FRA_DST] = { .minlen = sizeof(struct in6_addr) }, 142 [FRA_DST] = { .minlen = sizeof(struct in6_addr) },
143 [FRA_FWMARK] = { .type = NLA_U32 },
143 [FRA_TABLE] = { .type = NLA_U32 }, 144 [FRA_TABLE] = { .type = NLA_U32 },
144}; 145};
145 146