diff options
author | Wei Wang <weiwan@google.com> | 2019-06-20 17:36:38 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2019-06-23 13:24:17 -0700 |
commit | 74109218b051c2431eec2569886627c7217e235a (patch) | |
tree | 18a8ce26344bb8780ac26029f3606f29ad32f229 /net/ipv6/ip6_fib.c | |
parent | 0e09edcce7ad9c8120eb8462334e1c9e8f3be09a (diff) |
ipv6: initialize rt6->rt6i_uncached in all pre-allocated dst entries
Initialize rt6->rt6i_uncached on the following pre-allocated dsts:
net->ipv6.ip6_null_entry
net->ipv6.ip6_prohibit_entry
net->ipv6.ip6_blk_hole_entry
This is a preparation patch for later commits to be able to distinguish
dst entries in uncached list by doing:
!list_empty(rt6->rt6i_uncached)
Signed-off-by: Wei Wang <weiwan@google.com>
Acked-by: Eric Dumazet <edumazet@google.com>
Acked-by: Mahesh Bandewar <maheshb@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv6/ip6_fib.c')
0 files changed, 0 insertions, 0 deletions