[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <26efcecf-5a96-330b-c315-5d9750c99766@gmail.com>
Date: Thu, 20 Jun 2019 08:24:22 -0600
From: David Ahern <dsahern@...il.com>
To: Stefano Brivio <sbrivio@...hat.com>,
David Miller <davem@...emloft.net>
Cc: Jianlin Shi <jishi@...hat.com>, Wei Wang <weiwan@...gle.com>,
Martin KaFai Lau <kafai@...com>,
Eric Dumazet <edumazet@...gle.com>,
Matti Vaittinen <matti.vaittinen@...rohmeurope.com>,
netdev@...r.kernel.org
Subject: Re: [PATCH net-next v6 08/11] ipv6: Dump route exceptions if
requested
On 6/19/19 5:59 PM, Stefano Brivio wrote:
> + if (filter->dump_exceptions) {
> + struct fib6_nh_exception_dump_walker w = { .dump = arg,
> + .rt = rt,
> + .flags = flags,
> + .skip = skip,
> + .count = 0 };
> + int err;
> +
> + if (rt->nh) {
> + err = nexthop_for_each_fib6_nh(rt->nh,
> + rt6_nh_dump_exceptions,
> + &w);
much like ipv4, the skb can fill in the middle of a fib6_nh bucket, so
you need to track which nexthop is in progress.
Powered by blists - more mailing lists