net/ipv6: Move dst flags to booleans in fib entries
Continuing to wean FIB paths off of dst_entry, use a bool to hold requests for certain dst settings. Add a helper to convert the flags to DST flags when a FIB entry is converted to a dst_entry. Signed-off-by: David Ahern <dsahern@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
committed by
David S. Miller
parent
dec9b0e295
commit
3b6761d18b
@@ -177,7 +177,10 @@ struct rt6_info {
|
||||
u8 fib6_type;
|
||||
u8 exception_bucket_flushed:1,
|
||||
should_flush:1,
|
||||
unused:6;
|
||||
dst_nocount:1,
|
||||
dst_nopolicy:1,
|
||||
dst_host:1,
|
||||
unused:3;
|
||||
|
||||
unsigned long expires;
|
||||
struct dst_metrics *fib6_metrics;
|
||||
|
||||
Reference in New Issue
Block a user