On Mon, Jun 3, 2019 at 3:35 PM David Ahern <dsah...@gmail.com> wrote: > > On 6/3/19 3:58 PM, Wei Wang wrote: > > Hmm... I am still a bit concerned with the ip6_create_rt_rcu() call. > > If we have a blackholed nexthop, the lookup code here always tries to > > create an rt cache entry for every lookup. > > Maybe we could reuse the pcpu cache logic for this? So we only create > > new dst cache on the CPU if there is no cache created before. > > I'll take a look. > > Long term, I would like to see IPv6 separate FIB lookups from dst's - > like IPv4 does. In that case reject routes would not use a dst_entry; > rather the fib lookups return an error code. Yes. Agree. That will be even better.
- [PATCH v2 net-next 0/7] net: add struct nexthop to fib{6}_info David Ahern
- [PATCH v2 net-next 4/7] ipv6: Plumb support for nexthop o... David Ahern
- Re: [PATCH v2 net-next 4/7] ipv6: Plumb support for n... Wei Wang
- Re: [PATCH v2 net-next 4/7] ipv6: Plumb support f... David Ahern
- Re: [PATCH v2 net-next 4/7] ipv6: Plumb support f... David Ahern
- Re: [PATCH v2 net-next 4/7] ipv6: Plumb suppo... Wei Wang
- Re: [PATCH v2 net-next 4/7] ipv6: Plumb ... David Ahern
- Re: [PATCH v2 net-next 4/7] ipv6: Pl... Wei Wang
- Re: [PATCH v2 net-next 4/7] ipv6... David Ahern
- Re: [PATCH v2 net-next 4/7] ipv6... Wei Wang
- Re: [PATCH v2 net-next 4/7] ipv6... Martin Lau
- Re: [PATCH v2 net-next 4/7] ipv6... David Ahern
- Re: [PATCH v2 net-next 4/7] ipv6... Martin Lau
- Re: [PATCH v2 net-next 4/7] ipv6... David Ahern
- Re: [PATCH v2 net-next 4/7] ipv6... Martin Lau
- Re: [PATCH v2 net-next 4/7] ipv6... David Ahern
- Re: [PATCH v2 net-next 4/7] ipv6... Wei Wang
- Re: [PATCH v2 net-next 4/7] ipv6... David Ahern