[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20170126.184005.1132641383010709167.davem@davemloft.net>
Date: Thu, 26 Jan 2017 18:40:05 -0500 (EST)
From: David Miller <davem@...emloft.net>
To: dsa@...ulusnetworks.com
Cc: netdev@...r.kernel.org, xiaolong.ye@...el.com
Subject: Re: [PATCH net-next v2] net: ipv6: ignore null_entry on route dumps
From: David Ahern <dsa@...ulusnetworks.com>
Date: Thu, 26 Jan 2017 13:54:08 -0800
> Dave: per last email you suggested putting this in fib6_dump_node, but
> fib6_dump_node does not have knowledge of the network namespace
> because of the way the fib_walker works. I could put
> struct rt6_rtnl_dump_arg *arg = (struct rt6_rtnl_dump_arg *) w->args;
> into fib6_dump_node to get the net pointer from it but did not
> want to duplicate the typecast.
Ok, if you can't see the network namespace in fib6_dump_node() you
can't do the test there.
I'll apply this, thanks.
Powered by blists - more mailing lists