mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-26 06:33:19 -04:00
net/ipv6: Add fib6_null_entry
ip6_null_entry will stay a dst based return for lookups that fail to match an entry. Add a new fib6_null_entry which constitutes the root node and leafs for fibs. Replace existing references to ip6_null_entry with the new fib6_null_entry when dealing with FIBs. Signed-off-by: David Ahern <dsahern@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
14895687d3
commit
421842edea
3 changed files with 58 additions and 33 deletions
|
|
@ -60,7 +60,8 @@ struct netns_ipv6 {
|
|||
#endif
|
||||
struct xt_table *ip6table_nat;
|
||||
#endif
|
||||
struct rt6_info *ip6_null_entry;
|
||||
struct rt6_info *fib6_null_entry;
|
||||
struct rt6_info *ip6_null_entry;
|
||||
struct rt6_statistics *rt6_stats;
|
||||
struct timer_list ip6_fib_timer;
|
||||
struct hlist_head *fib_table_hash;
|
||||
|
|
|
|||
Loading…
Reference in a new issue